Setting or clearing request->args

leki75 nginx-forum at nginx.us
Tue Sep 22 16:25:49 MSD 2009


Hello Igor,

I run some tests but it seems that after setting r->args.len=0 and r->args.data=NULL and returning NGX_OK the request arrives at the origin server untouched. 

Logs on the original server:
172.27.134.40 - - [22/Sep/2009:14:17:42 +0200] "GET /index.html?test=4ab8c062 HTTP/1.0" 404 169 "-" "-"

Expected result:
172.27.134.40 - - [22/Sep/2009:14:17:42 +0200] "GET /index.html HTTP/1.0" 404 169 "-" "-"

Regards,
    Leki

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,8327,8366#msg-8366






More information about the nginx mailing list