mirror of
https://github.com/openappsec/attachment.git
synced 2026-01-02 14:44:42 +03:00
add timeout
This commit is contained in:
@@ -363,9 +363,6 @@ static int lua_send_body(lua_State *L) {
|
||||
return lua_error(L);
|
||||
}
|
||||
|
||||
// Send the chunk as-is without re-splitting
|
||||
// Kong/Nginx already provides properly sized chunks from ngx.arg[1]
|
||||
// Re-splitting causes memory issues and unnecessary overhead
|
||||
HttpBody http_chunks;
|
||||
http_chunks.bodies_count = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user