[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

error message when sending a web request to tux



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




[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net