moonbridge
changeset 308:7751e4982916
Renamed HTTP "header_size_limit" and "body_size_limit" options to "request_header_size_limit" and "request_body_size_limit" (to match documentation in example code)
author | jbe |
---|---|
date | Fri Nov 24 00:44:04 2017 +0100 (2017-11-24) |
parents | 707e32177a1e |
children | 426848ae6108 |
files | moonbridge_http.lua |
line diff
1.1 --- a/moonbridge_http.lua Fri Nov 24 00:41:34 2017 +0100 1.2 +++ b/moonbridge_http.lua Fri Nov 24 00:44:04 2017 +0100 1.3 @@ -195,8 +195,8 @@ 1.4 end 1.5 local input_chunk_size = options.maximum_input_chunk_size or options.chunk_size or 16384 1.6 local output_chunk_size = options.minimum_output_chunk_size or options.chunk_size or 1024 1.7 - local header_size_limit = options.header_size_limit or 1024*1024 1.8 - local body_size_limit = options.body_size_limit or 64*1024*1024 1.9 + local header_size_limit = options.request_header_size_limit or 1024*1024 1.10 + local body_size_limit = options.request_body_size_limit or 64*1024*1024 1.11 local idle_timeout = default("idle_timeout", 65) 1.12 local stall_timeout = default("stall_timeout", 60) 1.13 local request_header_timeout = default("request_header_timeout", 120)