Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Simple Listener Program Faulting on Linux

$
0
0
Some interesting findings on Linux. I'm not sure what it means.

If I use curl, the program displays "Hello World!' and can terminate normally.
> curl "http://192.168.1.111:3901"
Hello World!
If I type "http://192.168.1.111:3901" as the url in Chrome or FireFox, the program faults on close() or hangs forever on wait().

If I type "http://192.168.1.111:3901" as the url in Internet Explorer, IE returns with a search page. I'm not sure why. The program terminates normally.

So, I'm thinking there's some issue with unprocessed requests causing a hang or fault on Linux. I believe FireFox does a post for icons after a GET. Perhaps the program must process that request otherwise the unprocessed request causes termination issues? Correct? If so, what to do?

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>