What steps will reproduce the problem?
1. Register a custom request handler
2. In it, print ri->remote_ip
3.
What is the expected output? What do you see instead?
Expected output: the client's IP adresse as a integer
What I see: alway '0'
What version of the product are you using? On what operating system?
Version: from http://code.google.com/p/mongoose/source/browse
as per now
Please provide any additional information below.
Remote_ip is set in the worker_thread procedure.
Worker_thread then calls process_new_connection
which invokes reset_connection_attributes(conn)
which zeros out the entire request_info structure
including the remote_ip field :-(
Original issue reported on code.google.com by aysa...@gmail.com on 15 Aug 2010 at 2:33
Original issue reported on code.google.com by
aysa...@gmail.com
on 15 Aug 2010 at 2:33