error message when sending a web request to tux
Xuan Chen <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
I are doing some experiment with my web server. Basically, I wrote a program to send out url to the server and receive responses---just like other web traffic generator (webstone, surge, etc). It works fine with Apache, ie, I can see the web pages retrieved. But, when I switched to tux yesterday. I kept getting error messages complaining: Error on Read: Connection reset by peer It seems when I do recv, it always returns -1. I also checked tux log on the server, it show the request has been served correctly, ie, status 200. Could somebody give me a hint on how I should modify my program so that it works with tux also? Thanks. btw, I suspect that I should have written my program with asynch socket, cz it looks to me that tux is using asynch I/O. Is that the problem? Thanks. cheers, -chen -- Xuan Chen USC/ISI