Hi Richard Thank you very much for your answer. But I have tried it again at a different machine which also have Windows7 Build 7127 platform. All my computer have platform of Windows7, I don't test on any other environment. What about your environment? The program of GNUstep I used is downloaded from http://www.gnustep.org/experience/Windows.html, the latest stable version. It can reproduce the problem with any browser ( Firefox, Chrome ). I think the async socket function of GNUstep maybe have some problem on Windows7.
2009/8/22 Richard Frith-Macdonald <[email protected]> > > On 21 Aug 2009, at 18:17, Guo Xu wrote: > > Hi everyone, >> I have downloaded the WebServer-1.2.1 example program from >> http://wiki.gnustep.org/index.php/WebServer. I got a problem. >> When the browser client visit the server page, like http://localhost, the >> server didn't give any response, until timeout. >> > > I can't reproduce that ... when I run the testWebServer program and connect > to it using firefox the response in instant. > > I checked the program, I found that if I change the >> "[[connection handle] writeInBackgroundAndNotify: result]" in Line 1480 >> to"[[connection handle] writeData: result]" >> it can work. >> >> Does anyone known why the method writeInBackgroundAndNotify cannot work in >> this example? >> > > I have no idea why that would make any difference (possibly it was just a > coincidence?). > > Are you using an up to date version of GNUstep? Not that the version of > the libraries is likely to make any difference ... this code has been > running 24*7 in high volume applications for years without any trouble. > >
_______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
