diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-06-07 20:52:34 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-06-07 20:52:34 +0000 |
commit | d684be0cff116df0a3287b8883440b36460e0579 (patch) | |
tree | 2793dfc25a360de09ca7ef508ca8e167fc9d5fbb /src | |
parent | 2b7ea458d64d88b1393f75e9b669d8510914e654 (diff) | |
download | luasocket-d684be0cff116df0a3287b8883440b36460e0579.tar.gz luasocket-d684be0cff116df0a3287b8883440b36460e0579.tar.bz2 luasocket-d684be0cff116df0a3287b8883440b36460e0579.zip |
Block size increased.
Diffstat (limited to 'src')
-rw-r--r-- | src/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.lua b/src/http.lua index 38d54d0..576118e 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -16,7 +16,7 @@ local PORT = 80 | |||
16 | -- user agent field sent in request | 16 | -- user agent field sent in request |
17 | local USERAGENT = "LuaSocket 1.3b HTTP 1.1" | 17 | local USERAGENT = "LuaSocket 1.3b HTTP 1.1" |
18 | -- block size used in transfers | 18 | -- block size used in transfers |
19 | local BLOCKSIZE = 4096 | 19 | local BLOCKSIZE = 8192 |
20 | 20 | ||
21 | ----------------------------------------------------------------------------- | 21 | ----------------------------------------------------------------------------- |
22 | -- Tries to get a pattern from the server and closes socket on error | 22 | -- Tries to get a pattern from the server and closes socket on error |