diff options
author | Logan Dethrow <log@lindenlab.com> | 2011-07-13 11:40:50 -0400 |
---|---|---|
committer | Logan Dethrow <log@lindenlab.com> | 2011-07-13 11:40:50 -0400 |
commit | cfce3686dea74dfa2a6c92dbd1e8e1ae8518f259 (patch) | |
tree | 1e3189afbe6d2d9c5b1473ea59399e66a03d5d99 /indra/llmessage/llproxy.h | |
parent | b750a5afb7833d91aed88d9d1f75ee0b4bc2aa80 (diff) |
STORM-1112 Fixed network buffers that need to have space for the SOCKS proxy header.
Diffstat (limited to 'indra/llmessage/llproxy.h')
-rw-r--r-- | indra/llmessage/llproxy.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmessage/llproxy.h b/indra/llmessage/llproxy.h index 498ffce24e..7893545b9d 100644 --- a/indra/llmessage/llproxy.h +++ b/indra/llmessage/llproxy.h @@ -49,6 +49,8 @@ #define SOCKS_VERSION 0x05 // we are using SOCKS 5 +#define SOCKS_HEADER_SIZE 10 + // SOCKS 5 address/hostname types #define ADDRESS_IPV4 0x01 #define ADDRESS_HOSTNAME 0x03 @@ -139,7 +141,7 @@ struct proxywrap_t { #pragma pack(pop) /* restore original alignment from stack */ -// Currently selected http proxy type +// Currently selected HTTP proxy type enum LLHttpProxyType { LLPROXY_SOCKS = 0, |