server socket receives 2 http requests when I send from chrome and receives one when I send from firefox

前端 未结 7 2145

I wrote a simple server using socket API in C under linux which listens at port 80 on localhost. Now when I send a request from the browser google chrome to the program it r

相关标签:
7条回答
  • 2020-11-27 19:14

    Can you post the source of your server? My guess is that Chrome simply opens a socket against your server to optimize future requests to the same page, but does not send any command on it.

    0 讨论(0)
提交回复
热议问题