Re: How would nginx record client IP address under TCP Multipath?

2014-01-03 Thread est
That's very helpful info. Thanks! So getsockname() and getpeername() returns the initial subflow, what's the API to get other subflows? Edit: found my answer: https://datatracker.ietf.org/doc/rfc6897/?include_text=1 by using setsockopt() and getsockopt() The functions getpeername() and getsockna

How would nginx record client IP address under TCP Multipath?

2014-01-02 Thread est
Hello, Since iOS7 supports TCP Multipath now, I think more and more devices will start support it. But TCP Multipath allows many client IPs connected to the same server, suppose Nginx in this case, how would access_log record all of the IPs? Just curious question :) _

$request_header_length and $request_body_length?

2013-07-08 Thread est
Hello, I am trying to diagnose a weird 408 error problem on nginx. My theory is that the client might be using some kind of crack making the request body too short for Content-Length header, so nginx waits more data and ultimately fails at 60 seconds timeout. I tried to add few more log options,