[opensource-dev] Review Request: Enable CURLOPT_ENCODING for Inventory caps, which uses the LLURLRequest code path
Joshua Linden
josh at lindenlab.com
Thu Mar 31 17:20:34 PDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/242/#review529
-----------------------------------------------------------
Ship it!
Looks good.
Empty-string ("") is a signal to curl to send an Accept-Encoding header with any type it understands and can transparently decode on receipt. On the one hand, it might be nice to define a constant empty string so that this behavior is more obvious, but on the other using literal empty strings will match what people might search for.
- Joshua
On March 31, 2011, 7:32 a.m., Stone Linden wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/242/
> -----------------------------------------------------------
>
> (Updated March 31, 2011, 7:32 a.m.)
>
>
> Review request for Viewer, Oz Linden, Joshua Linden, and Brad Kittenbrink.
>
>
> Summary
> -------
>
> Enable Accept-Encoding: deflate, gzip in libcurl via setopt CURLOPT_ENCODING. I'm approaching this for Inventory, but it would apply to any HTTP request that goes through the LLURLRequest code path (vs. the LLCurl code path, which already does this).
>
>
> This addresses bug vwr-25376.
> http://jira.secondlife.com/browse/vwr-25376
>
>
> Diffs
> -----
>
> indra/llmessage/llurlrequest.cpp 2ae060c0fa91
>
> Diff: http://codereview.secondlife.com/r/242/diff
>
>
> Testing
> -------
>
> Inventory loads, and I see the encoding options coming through on the backend apache logs.
>
>
> Thanks,
>
> Stone
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110401/1889dda6/attachment.htm
More information about the opensource-dev
mailing list