Re: upgrade to 1-9.15 caused block requests

2018-11-22 Thread Ortal
This is a small example of my code, I changed the code and in the current version on post/put request trying to read the buffer and print it, on any other requests just send response (I tried to minimal it as much as I could) On the current flow when running a post request with 1MB data the

upgrade to 1-9.15 caused block requests

2018-11-21 Thread Ortal
Hi, I am developing my own nginx module, I am getting a post requests, parse the data and send 204. I worked with nginx version release-1.9.15, and I am trying to upgrade to version release-1.15.5. After the upgrade post requests with payload larger then 1M are getting blocked. >From the nginx

ngx http upstream request body

2018-05-06 Thread Ortal
Hello, I am building an nginx module, using ngx_http_upstream. I am using ngx_http_request_t struct and I would like to know if my assumption that request_body->bufs will not be reuse (free) until the connection will be finalized? Posted at Nginx Forum:

connection error bit set to 1

2017-07-31 Thread Ortal
Hello, I am writing a nginx module. I would like to know it which flow is the error filed of the connection set to 1, I am running a test which the nginx epoll call ngx_http_finalize_request with: r->connection->error = 1, this will terminate my request before I finished with my job. Thanks

timeout callback

2017-04-25 Thread Ortal
Hello, I am developing my own nginx module, I would like to use the "keepalive_timeout" option. I tried to find a callback which signal that timeout was expired, before the nginx call ngx_http_close_connection. I am using a memory which I allocate and I would like to free it Thanks,

Re: send_header with NGX_HTTP_INTERNAL_SERVER_ERROR code

2016-06-19 Thread Ortal
Make sense... Thanks Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267651,267692#msg-267692 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

send_header with NGX_HTTP_INTERNAL_SERVER_ERROR code

2016-06-16 Thread Ortal
SHR S %CPU %MEM TIME+ COMMAND 8734 ortal 20 0 7761628 7.335g 1736 S 69.0 47.9 0:28.37 nginx I am using the function 'ngx_http_send_header' which I saw uses 'ngx_http_headers_filter' which hadnle the cases

Set last modified out header

2016-02-10 Thread Ortal
Hello, I am building my own NGINX module, when I try to set the last modified out header I have a struct timespec which I need to convert to last modified. When I set the last modified with the tv_sec the last modified get invalid date. How can I set the last modified correctly? Posted at Nginx

Best performance test tool

2016-01-27 Thread Ortal
the NGINX did not passed the 30% CPU while the tolls got to over 100%. My question is: Which tool I can use to test NGINX with post requests in the best way? Thanks, Ortal Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264161,264161#msg-264161

Multiple responses to one request

2015-12-23 Thread Ortal
would like each part of the response to be send and the client will get a few responses to the same request. Thanks, Ortal Levi Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263649,263649#msg-263649 ___ nginx mailing list nginx@nginx.org http