Opened 11 years ago
Closed 11 years ago
#541 closed defect (worksforme)
nginx-tests: proxy_unfinished.t test 'no proxy temp' does not work
Reported by: | Markus Linnala | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | other | Version: | 1.5.x |
Keywords: | Cc: | ||
uname -a: | Linux tester 3.13.9-200.fc20.x86_64 #1 SMP Fri Apr 4 12:13:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | ||
nginx -V: |
nginx version: nginx/1.5.13
built by gcc 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC) configure arguments: --with-http_sub_module |
Description
nginx-tests proxy_unfinished.t last test 'no proxy temp' does not work as nginx does not write to proxy_temp.
This is obvious from error_log as there is no mention of error writing to proxy_temp.
I'm using stock nginx 1.5.13 with sub module.
If I modify test (attached), I can get error like
2014/04/14 18:03:37 [crit] 13385#0: *1 open() "/tmp/nginx-test-hZk1LOj63E/proxy_temp/0000000001" failed (13: Permission denied) while reading upstream, client: 127.0.0.1, server: localhost, request: "GET /proxy/big.html HTTP/1.1", upstream: "http://127.0.0.1:8081/proxy/big.html", host: "localhost"
And test also fails to do what is intended as it does not output anything.
Attachments (1)
Change History (2)
by , 11 years ago
Attachment: | proxy_no_proxy_temp2.t added |
---|
comment:1 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The test in question depends on various socket buffer sizes and may not be triggered on your particular system if you are using big socket buffers. It works fine here though:
If you aren't happy with current situation, you are welcome to provide patches to improve interoperability. Please see http://nginx.org/en/docs/contributing_changes.html for a recommended way to contribute changes.