HTTP persistent connection vs TCP socket connection

后端 未结 2 2102
一向
一向 2020-12-28 23:15

From this article on Wikipedia:

Keepalive messages were not officially supported in HTTP 1.0. In HTTP 1.1 all connections are considered persisten

2条回答
  •  [愿得一人]
    2020-12-28 23:49

    Actually, the HTTP server can "push" data to a connected http client without the client requesting it. See "HTTP server push" at http://en.wikipedia.org/wiki/Push_technology. However it does seem to be commonly implemented.

提交回复
热议问题