kernelsauce / turbo

Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
http://turbo.readthedocs.io/
Apache License 2.0
528 stars 84 forks source link

TURBO_SOCKET_BUFFER_SZ #180

Closed GeorgeVV closed 9 years ago

GeorgeVV commented 9 years ago

I get a warning message that says :
"Max buffer size could not be set to lower value than TURBO_SOCKET_BUFFER_SZ (17416B) What does it meaning ?. How can I treat this warning ? Where I set other value ?.

kernelsauce commented 9 years ago

What version are you running? I have removed this warning in master as it does not really matter at all, unless you are doing very specific things :). Its the internal workings in the HTTP server that adjusts the buffer sizes too low to avoid e.g. header attacks. Do not worry about them...

GeorgeVV commented 9 years ago

I use the following version of turbo : 1.1.0

kernelsauce commented 9 years ago

Yes, this is nothing to worry about. Once v2.0 (soon) hits LuaRocks it will no longer display this warning.