7 Commits

Author SHA1 Message Date
Felipe Zimmerle
9be379fe26 niginx: cosmetics: Changes CRLF to LF 2014-04-30 11:43:32 -07:00
Felipe Zimmerle
6ee920d359 nginx: cosmetics: Splits lines longer than 80 characters 2014-04-30 11:43:28 -07:00
Felipe Zimmerle
dfb8bdb77c 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)
2014-04-30 07:24:49 -07:00
Felipe Zimmerle
a5db5ff641 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.
2014-04-30 07:23:23 -07: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