7 Commits

Author SHA1 Message Date
Felipe Zimmerle
9de3bb6be7 niginx: cosmetics: Changes CRLF to LF 2016-02-02 12:28:52 -03:00
Felipe Zimmerle
b1aed8d7c1 nginx: cosmetics: Splits lines longer than 80 characters 2016-02-02 12:28:52 -03:00
Felipe Zimmerle
0c8a5b2af0 nginx: copies the req body chain to be processed instead of move
Add a check for the definition MOVE_REQUEST_CHAIN_TO_MODSEC, whenever it is
set the chain will be moved into the brigade. If it was not set the chain
will be only copied. Moving was causing segfaults on the following
regression tests:

 #15 - SecRequestBodyInMemoryLimit
 #16 - SecRequestBodyInMemoryLimit (greater)
 #19 - SecRequestBodyLimitAction ProcessPartial (multipart/greater - chunked)
 (from: regression/config/10-request-directives.t)
2016-02-02 12:28:52 -03:00
Felipe Zimmerle
9602fa4a44 nginx refactoring
Refactoring on the nginx module, including:
 - Better handling larger posts;
 - Now using nginx echo module during the regression tests.
 - Better interacting with neginx chain rules
 - Separation of the request handling and content filters.
 - Better handling nginx sessions and resource counts to allow a
   more efficient garbage collector.
 - Handling both http/1.0 and 1.1, including keep-alive.
 - Tests are now capable to test nginx as a proxy or end-server.
 - Tested agains nginx 1.6 and 1.7.
2016-02-02 12:28:52 -03:00
chaizhenhua
bad4586277 Nginx: Try to fix eats 100% cpu in ngx_event_pipe_write_to_downstream issue 2013-05-13 21:46:43 +08:00
chaizhenhua
177b5b9c98 Nginx: Added SecDisableBackendCompression support
Nginx: Added internel redirected request processing
2013-03-22 14:42:56 +08:00
chaizhenhua
972d9e2abf Added Response Phase for Nginx 2013-01-26 22:44:54 +08:00