vibe.d maxRequestSize

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 22 06:03:53 PDT 2016


On Monday, 19 September 2016 at 18:13:12 UTC, Chris wrote:
> On Monday, 19 September 2016 at 17:54:05 UTC, Steven 
> Schveighoffer wrote:
>> On 9/19/16 1:34 PM, Chris wrote:
>>> [...]
>>
>> Here is the culprit:
>>
>> https://github.com/rejectedsoftware/vibe.d/blob/0.7.29/source/vibe/http/server.d#L1861
>>
>> And the definition of MaxHTTPHeaderLineLength is:
>>
>> https://github.com/rejectedsoftware/vibe.d/blob/0.7.29/source/vibe/http/server.d#L1861
>>
>> 4096 bytes.
>>
>> I'm not super-familiar with HTTP protocol requirements, but a 
>> further diagnosis of your net traffic may reveal that your 
>> browser is doing something unorthodox, or vibe needs to adjust 
>> here.
>>
>> -Steve
>
> Thanks a million! I'll look into it tomorrow.

FYI, I had to solve the issue by sending a form via a JS 
XMLHTTPRequest. maxRequestSize didn't help.


More information about the Digitalmars-d-learn mailing list