{"id":225773,"date":"2021-09-16T10:32:38","date_gmt":"2021-09-16T02:32:38","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=225773"},"modified":"2021-09-02T10:33:13","modified_gmt":"2021-09-02T02:33:13","slug":"water-linux-sleep","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/water-linux-sleep.html","title":{"rendered":"\u7b80\u5355\u4ecb\u7ecdHTTP3"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u672c\u6587\u7b80\u5355\u4ecb\u7ecd\u4e86HTTP\u534f\u8bae\uff0c\u4ee5\u53ca\u4ecb\u7ecd\u4e86HTTP\u7684\u6210\u957f\uff0c\u4e0d\u540cHTTP\u89e3\u51b3\u7684\u95ee\u9898\u7b49\u65b9\u9762\uff0c\u8be6\u7ec6\u8bb2\u89e3\u4e86HTTP3\uff0c\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u4e00\u8d77\u6765\u770b\u770b\u5427<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u7b80\u4ecb<\/strong><\/div>\n

\u5f88\u591a\u5c0f\u4f19\u4f34\u53ef\u80fd\u8fd8\u6c89\u6d78\u5728HTTP1.1\u7684\u4e16\u754c\u65e0\u6cd5\u81ea\u62d4\uff0c\u4f46\u662f\u65f6\u4ee3\u7684\u6d2a\u6d41\u5df2\u7ecf\u5e26\u9886\u6211\u4eec\u6765\u5230\u4e86HTTP3\u7684\u4e16\u754c\u4e86\u3002\u662f\u7684\uff0c\u4f60\u5728\u6865\u4e0a\u770b\u98ce\u666f\uff0c\u800c\u6865\u8fb9\u7684\u623f\u5b50\u4e0a\u6709\u4eba\u6b63\u5728\u770b\u4f60\u3002<\/p>\n

\u4e3a\u4e86\u4e0d\u88ab\u65f6\u4ee3\u6240\u629b\u5f03\uff0c\u4eca\u5929\u7ed9\u5927\u5bb6\u8bb2\u89e3\u4e00\u4e0bHTTP3\u7684\u65b0\u7279\u6027\u3002<\/p>\n

HTTP\u6210\u957f\u4ecb\u7ecd<\/strong><\/div>\n

HTTP\u7684\u5168\u540d\u53eb\u505a\u8d85\u6587\u672c\u4f20\u8f93\u200b\u200b\u534f\u8bae\uff0c\u662f\u4e07\u7ef4\u7f51\u6240\u57fa\u4e8e\u7684\u5e94\u7528\u5c42\u4f20\u8f93\u534f\u8bae\u3002\u6700\u521d\u7684\u7248\u672c\u662fHTTP 0.9\uff0c\u662f\u572880\u5e74\u7684\u540e\u671f\u4ea7\u751f\u7684\uff0c\u540e\u9762\u57281996\u5e74\u5347\u7ea7\u5230\u4e861.0.<\/p>\n

\u4f46\u662fHTTP1.0\u6ee1\u8db3\u4e0d\u4e86\u65e5\u76ca\u589e\u957f\u7684\u7269\u8d28\u6587\u5316\u9700\u6c42\u548c\u5bf9\u7f8e\u597d\u4e16\u754c\u7684\u5411\u5f80\u3002\u6240\u4ee5\u57281997\u5e74\u51fa\u73b0\u4e86HTTP1.1\uff0c\u968f\u540e\u52302014\u5e74\uff0cHTTP1.1\u90fd\u4e00\u76f4\u90fd\u5728\u66f4\u65b0\u3002<\/p>\n

\u7136\u540e\u5230\u4e862015\u5e74\uff0c\u4e3a\u4e86\u9002\u5e94\u5feb\u901f\u53d1\u9001\u7684web\u5e94\u7528\u548c\u73b0\u4ee3\u6d4f\u89c8\u5668\u7684\u9700\u6c42\uff0c\u5728Google\u7684SPDY\u9879\u76ee\u57fa\u7840\u4e0a\u53d1\u5c55\u51fa\u4e86\u65b0\u7684HTTP2\u534f\u8bae\u3002<\/p>\n

\u53c8\u8fc7\u4e864\u5e74\uff0c\u57282019\u5e74\uff0cGoogle\u53c8\u5f00\u53d1\u51fa\u4e86\u4e00\u4e2a\u65b0\u7684\u534f\u8bae\u6807\u51c6QUIC\u534f\u8bae\uff0c\u5b83\u5c31\u662fHTTP3\u7684\u57fa\u77f3\uff0c\u5176\u76ee\u7684\u662f\u4e3a\u4e86\u63d0\u9ad8\u7528\u6237\u4e0e\u7f51\u7ad9\u548cAPI\u4ea4\u4e92\u7684\u901f\u5ea6\u548c\u5b89\u5168\u6027\u3002<\/p>\n

\u4e0d\u540cHTTP\u534f\u8bae\u89e3\u51b3\u7684\u95ee\u9898<\/strong><\/div>\n

\u4e0d\u540cHTTP\u534f\u8bae\u89e3\u51b3\u7684\u95ee\u9898\u4e5f\u662f\u4e0d\u540c\u7684\uff0cHTTP1.1\u6709\u4ec0\u4e48\u95ee\u9898\u5462\uff1f<\/p>\n

1.\u56e0\u4e3aHTTP1.1\u4e00\u4e2a\u8fde\u63a5\u4e2d\u6570\u636e\u662f\u987a\u5e8f\u4f20\u8f93\u7684\uff0c\u6240\u4ee5\u4f1a\u6709Head-of-line Blocking\u7684\u95ee\u9898\uff0c\u5982\u679c\u524d\u9762\u662f\u4e00\u4e2a\u5927\u7684\u6570\u636e\u5305\uff0c\u5219\u4f1a\u5bfc\u81f4\u540e\u7eed\u6570\u636e\u5305\u7684\u963b\u585e\u3002<\/p>\n

2.HTTP1.1\u65e0\u6cd5\u5bf9\u8bf7\u6c42\u5934\u548ccookie\u8fdb\u884c\u538b\u7f29\uff0c\u6240\u4ee5\u4f20\u8f93\u6548\u7387\u4f1a\u6bd4\u8f83\u4f4e\u3002<\/p>\n

3.\u4e3a\u4e86\u4fdd\u8bc1\u7f13\u51b2\u533a\u4e0d\u4f1a\u6ea2\u51fa\uff0cHTTP1.1\u6709\u4e00\u4e2aTCP\u6162\u542f\u52a8\u7684\u529f\u80fd\uff0c\u4f5c\u4e3a\u62e5\u585e\u63a7\u5236\u63aa\u65bd\uff0c\u534f\u8bae\u53cd\u590d\u63a2\u6d4b\u7f51\u7edc\u4ee5\u8ba1\u7b97\u53ef\u7528\u5bb9\u91cf\uff0c\u4f46\u662f\u8fd9\u6837\u5c31\u4f1a\u5bfc\u81f4\u591a\u6b21\u6570\u636e\u7684\u4f20\u8f93\uff0c\u4ece\u800c\u5bfc\u81f4\u6d88\u606f\u7684\u5ef6\u65f6\u3002<\/p>\n

\u5bf9\u4e8eHTTP2\u6765\u8bf4\uff0c\u5b83\u4f7f\u7528\u4e8c\u8fdb\u5236\u8fdb\u884c\u6d88\u606f\u4f20\u8f93\uff0c\u5e76\u4e14\u5c06\u6d88\u606f\u62c6\u5206\u6210\u4e00\u4e2a\u4e2a\u7684stream\uff0c\u5728stream\u4e2d\u53c8\u5305\u542b\u4e86\u591a\u4e2aframe\uff0c\u5141\u8bb8\u8d44\u6e90\u901a\u8fc7\u591a\u8def\u590d\u7528\u4f7f\u7528\u540c\u4e00\u4e2a\u8fde\u63a5\u53d1\u9001\uff0c\u89e3\u51b3\u4e86\u884c\u5934\u963b\u585e\u7684\u95ee\u9898\uff0c\u5e76\u4e14\u8fd8\u652f\u6301\u6570\u636e\u5305\u7684\u4f18\u5148\u7ea7\u548c\u670d\u52a1\u5668\u63a8\u9001\u3002<\/p>\n

\u4f46\u662fHTTP2\u7684\u670d\u52a1\u5668\u63a8\u9001\u4f1a\u5bfc\u81f4\u5e94\u7528\u7a0b\u5e8f\u53d8\u5f97\u590d\u6742\uff0cTCP\u7ea7\u522b\u7684\u5934\u963b\u585e\u7684\u95ee\u9898\u5728\u6570\u636e\u5305\u4e22\u5931\u5e76\u4e14\u5fc5\u987b\u91cd\u65b0\u4ee5\u6b63\u786e\u7684\u987a\u5e8f\u91cd\u65b0\u53d1\u9001\u65f6\uff0c\u4ecd\u7136\u53ef\u80fd\u53d1\u751f\u3002<\/p>\n

\u8981\u6ce8\u610f\uff0cHTTP\/2\u662fHTTP\/1.1\u7684\u6269\u5c55\uff0c\u800c\u4e0d\u662f\u5b83\u7684\u66ff\u4ee3\u54c1\u3002 \u5e94\u7528\u7a0b\u5e8f\u8bed\u4e49\u4fdd\u6301\u4e0d\u53d8\uff0c\u5177\u6709\u76f8\u540c\u7684HTTP\u65b9\u6cd5\u3001\u72b6\u6001\u4ee3\u7801\u3001URI\u548c\u6807\u5934\u5b57\u6bb5\u3002 \u6240\u4ee5HTTP\/2\u53ef\u4ee5\u88ab\u7528\u5728\u4efb\u4f55\u4f7f\u7528HTTP\/1.1\u7684\u5730\u65b9\u3002<\/p>\n

HTTP\/2\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u4e4b\u95f4\u4f7f\u7528\u5355\u4e2aTCP\u8fde\u63a5\uff0c\u8be5\u8fde\u63a5\u5728\u4ea4\u4e92\u671f\u95f4\u4fdd\u6301\u6253\u5f00\u72b6\u6001\u3002<\/p>\n

\u867d\u7136HTTP\/2\u652f\u6301\u5e76\u53d1\uff0c\u4f46\u662f\u8fc7\u591a\u7684\u5e76\u53d1\u4f1a\u5bfc\u81f4HTTP\/2\u670d\u52a1\u5668\u63a5\u6536\u5230\u5927\u6279\u91cf\u7684\u8bf7\u6c42\uff0c\u4ece\u800c\u5bfc\u81f4\u8bf7\u6c42\u8d85\u65f6\u3002<\/p>\n

HTTP3\u548cQUIC<\/strong><\/div>\n

HTTP\/3\u7684\u76ee\u6807\u662f\u901a\u8fc7\u89e3\u51b3HTTP\/2\u7684\u4f20\u8f93\u76f8\u5173\u95ee\u9898\uff0c\u5728\u6240\u6709\u5f62\u5f0f\u7684\u8bbe\u5907\u4e0a\u63d0\u4f9b\u5feb\u901f\u3001\u53ef\u9760\u548c\u5b89\u5168\u7684Web\u8fde\u63a5\u3002\u4e3a\u6b64\uff0c\u5b83\u4f7f\u7528\u4e86\u4e00\u79cd\u4e0d\u540c\u7684\u4f20\u8f93\u5c42\u7f51\u7edc\u534f\u8bae\uff0c\u79f0\u4e3aQUIC\uff0c\u8be5\u534f\u8bae\u6700\u521d\u7531Google\u5f00\u53d1\u7684\u3002<\/p>\n

\u611f\u6168\u4e00\u4e0b\uff0c\u867d\u7136\u6700\u8fd1\u4e2d\u56fd\u5728\u7cfb\u7edf\u7684\u5e94\u7528\u65b9\u9762\u6709\u4e86\u4e00\u5b9a\u7684\u8fdb\u6b65\uff0c\u4f46\u662f\u770b\u770b\u8fd9\u4e9b\u5e95\u5c42\u7684\u534f\u8bae\uff0c\u8fd8\u90fd\u662f\u5916\u56fd\u4eba\u641e\u51fa\u6765\u7684\u3002<\/p>\n

HTTP\/2\u548cHTTP\/3\u7684\u6839\u672c\u533a\u522b\u5728\u4e8e\uff0cHTTP\/2\u5e95\u5c42\u4f7f\u7528\u7684\u662fTCP\u534f\u8bae\uff0c\u800cHTTP\/3\u4f7f\u7528\u7684\u662fQUIC\uff0c\u800cQUIC\u7684\u5e95\u5c42\u4f7f\u7528\u7684\u662fUDP\u534f\u8bae\u3002<\/p>\n

\u6211\u4eec\u770b\u4e00\u4e0bHTTP\/2\u548cHTTP\/3\u7684\u534f\u8bae\u6808\u5bf9\u6bd4\uff1a<\/p>\n

TCP\u534f\u8bae\u4e3b\u8981\u4fdd\u8bc1\u670d\u52a1\u7684\u53ef\u9760\u6027\u548c\u6709\u5e8f\u4ea4\u4ed8\uff0c\u4f46\u662fTCP\u9700\u8981\u540c\u63e1\u624b\u6765\u5efa\u7acb\u8fde\u63a5\uff0c\u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u786e\u4fdd\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u90fd\u5b58\u5728\u5e76\u4e14\u4ed6\u4eec\u613f\u610f\u5e76\u4e14\u80fd\u591f\u4ea4\u6362\u6570\u636e\u3002\u4f46\u662f\uff0c\u5b83\u4e5f\u9700\u8981\u4e00\u4e2a\u5b8c\u6574\u7684\u7f51\u7edc\u5f80\u8fd4\u624d\u80fd\u5b8c\u6210\uff0c\u7136\u540e\u624d\u80fd\u5728\u8fde\u63a5\u4e0a\u5b8c\u6210\u4efb\u4f55\u5176\u4ed6\u64cd\u4f5c\u3002 \u5982\u679c\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u76f8\u8ddd\u6bd4\u8f83\u8fdc\uff0c\u90a3\u4e48\u5c31\u9700\u8981\u82b1\u8d39\u8f83\u591a\u7684\u65f6\u95f4\u6765\u8fdb\u884c\u8fde\u63a5\u3002<\/p>\n

\u6211\u4eec\u77e5\u9053UDP\u662f\u65e0\u8fde\u63a5\u7684\uff0c\u6240\u4ee5\u5b83\u8981\u6bd4TCP\u7b80\u5355\u5f88\u591a\u3002\u5b83\u4e0d\u9700\u8981TCP\u8fd9\u79cd\u5efa\u7acb\u591a\u6b21\u8fde\u63a5\u7684\u6b65\u9aa4\uff0c\u53ea\u9700\u8981\u53d1\u9001\u6570\u636e\u5305\u51fa\u53bb\u5c31\u591f\u4e86\u3002<\/p>\n

\u6240\u4ee5\u4f7f\u7528QUIC\u7684\u4f18\u70b9\u5c31\u5728\u4e8e\u51cf\u5c11\u4e86\u7cfb\u7edf\u7684\u5ef6\u65f6\uff0c\u9002\u7528\u4e8e\u53ef\u4ee5\u5bb9\u5fcd\u4e00\u4e9b\u6570\u636e\u4e22\u5305\u7684\u60c5\u51b5\uff0c\u6bd4\u5982\u5728\u7ebf\u6e38\u620f\u3001\u5e7f\u544a\u7ade\u4ef7\u3001\u5728\u7ebf\u89c6\u9891\u3001\u5b9e\u65f6\u6d41\u7b49\u5730\u65b9\u3002<\/p>\n

\u53e6\u5916\u56e0\u4e3aUDP\u652f\u6301\u5e7f\u64ad\uff0c\u6240\u4ee5HTTP3\u8fd8\u9002\u7528\u4e8e\u5e7f\u64ad\u5e94\u7528\u4e2d\uff0c\u5982\u7cbe\u786e\u65f6\u95f4\u534f\u8bae\u548c\u8def\u7531\u4fe1\u606f\u534f\u8bae\u7b49\u3002<\/p>\n

\u53e6\u5916HTTP3\u8fd8\u53ef\u4ee5\u7528\u5728\u7269\u8054\u7f51\u3001\u5927\u6570\u636e\u548cVR\u7b49\u65b9\u9762\u3002<\/p>\n

\u65e2\u7136HTTP3\u4f7f\u7528\u7684\u662fQUIC\u534f\u8bae\uff0c\u90a3\u4e48QUIC\u5230\u5e95\u662f\u4ec0\u4e48\u5462\uff1f<\/p>\n

\u901a\u5e38\u6765\u8bf4QUIC\u662f\u4e00\u79cd\u901a\u7528\u4f20\u8f93\u534f\u8bae\uff0c\u4e0eTCP\u975e\u5e38\u76f8\u4f3c\u3002\u4e3a\u4ec0\u4e48\u8981\u6253\u9020\u4e00\u5957\u65b0\u7684\u534f\u8bae\u5462\uff1f\u8fd9\u662f\u56e0\u4e3a\u73b0\u6709\u7684TCP\u534f\u8bae\u6269\u5c55\u8d77\u6765\u975e\u5e38\u56f0\u96be\uff0c\u56e0\u4e3a\u5df2\u7ecf\u6709\u592a\u591a\u592a\u591a\u7684\u8bbe\u5907\u4f7f\u7528\u4e86\u5404\u79cd\u4e0d\u540c\u7684TCP\u534f\u8bae\u7684\u7248\u672c\uff0c\u5982\u679c\u60f3\u76f4\u63a5\u5728\u73b0\u6709\u7684TCP\u534f\u8bae\u4e0a\u8fdb\u884c\u6269\u5c55\u975e\u5e38\u56f0\u96be\uff0c\u56e0\u4e3a\u9700\u8981\u7ed9\u8fd9\u4e48\u591a\u53f0\u8bbe\u5907\u8fdb\u884c\u5347\u7ea7\u51e0\u4e4e\u662f\u4e0d\u53ef\u80fd\u5b8c\u6210\u7684\u4efb\u52a1\u3002<\/p>\n

\u6240\u4ee5QUIC\u5728\u9009\u62e9\u5728UDP\u534f\u8bae\u4e4b\u4e0a\u8fdb\u884c\u6784\u5efa\u3002QUIC\u4f7f\u7528UDP\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5e0c\u671b\u80fd\u8ba9HTTP\/3\u66f4\u5bb9\u6613\u90e8\u7f72\uff0c\u56e0\u4e3a\u5b83\u5df2\u7ecf\u88ab\u4e92\u8054\u7f51\u4e0a\u7684\u6240\u6709\u8bbe\u5907\u6240\u77e5\u5e76\u5df2\u5b9e\u73b0.<\/p>\n

QUIC\u5b9e\u9645\u4e0a\u5c31\u662f\u5728UDP\u57fa\u7840\u4e0a\u91cd\u5199\u4e86TCP\u7684\u529f\u80fd\uff0c\u4f46\u662f\u53c8\u6bd4TCP\u66f4\u52a0\u667a\u80fd\uff0c\u66f4\u9ad8\u6548\u7684\u5b9e\u73b0\u4e86TCP\u7684\u6838\u5fc3\u529f\u80fd\u3002<\/p>\n

\u63a5\u4e0b\u6765\u6211\u4eec\u770b\u4e0bQUIC\u5177\u4f53\u6709\u54ea\u4e9b\u7279\u5f81\u3002<\/p>\n

TLS1.3<\/strong><\/span><\/div>\n

TLS\u4e3b\u8981\u7528\u6765\u4fdd\u8bc1\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u5728\u6570\u636e\u4f20\u8f93\u8fc7\u7a0b\u7684\u6570\u636e\u5b89\u5168\u6027\uff0c\u53ef\u4ee5\u5bf9\u660e\u6587\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\u4f20\u8f93\u3002TLS1.3\u662fTLS\u534f\u8bae\u7684\u6700\u65b0\u7248\u672c\uff0c\u5728\u65e7\u7684\u7248\u672c\u5982TLS1.2\u4e2d\uff0c\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684\u63e1\u624b\u81f3\u5c11\u9700\u8981\u4e24\u6b21\u7f51\u7edc\u5f80\u8fd4\uff0c\u4f46\u662f\u5728TLS1.3\u4e2d\uff0c\u5c06\u5176\u51cf\u5c11\u5230\u53ea\u6709\u4e00\u6b21\u5f80\u8fd4\u3002<\/p>\n

\u867d\u7136\u5728HTTP\/2\u4e2d\u662f\u652f\u6301\u65e0\u52a0\u5bc6\u4f20\u8f93\u6a21\u5f0f\uff0c\u4f46\u662f\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u6240\u6709\u7684\u73b0\u4ee3\u6d4f\u89c8\u5668\u90fd\u4e0d\u652f\u6301\u8fd9\u79cd\u6a21\u5f0f\uff0c\u6240\u4ee5HTTP\/2\u5fc5\u987b\u914d\u5408HTTPS\u4e00\u8d77\u4f7f\u7528\u3002\u957f\u8fdc\u770b\u6765HTTPS\u80af\u5b9a\u662f\u672a\u6765\u7684\u8d8b\u52bf\uff0c\u6240\u4ee5\u5728QUIC\u4e2d\uff0c\u76f4\u63a5\u5c31\u4f7f\u7528\u4e86TLS 1.3\u534f\u8bae\u3002QUIC\u672c\u8eab\u5c31\u5c01\u88c5\u4e86TLS1.3\u3002<\/p>\n

\u8fd9\u6837\u505a\u7684\u597d\u5904\u5c31\u662fQUIC\u6ca1\u529e\u6cd5\u8fd0\u884c\u660e\u6587\uff0c\u6240\u4ee5\u66f4\u52a0\u7684\u5b89\u5168\u3002\u5e76\u4e14QUIC\u5185\u7f6e\u4e86\u52a0\u5bc6\u534f\u8bae\uff0c\u5c06\u4f20\u8f93\u548c\u52a0\u5bc6\u63e1\u624b\u5408\u4e8c\u4e3a\u4e00\uff0c\u8282\u7701\u4e86\u5f80\u8fd4\u3002<\/p>\n

\u56e0\u4e3aQUIC\u662f\u5168\u7a0b\u52a0\u5bc6\u7684\uff0c\u6240\u4ee5\u5bf9\u4e8e\u67d0\u4e9bISP\u548c\u4e2d\u95f4\u7f51\u7edc\u6765\u8bf4\uff0c\u65e0\u6cd5\u518d\u5bf9\u7f51\u7edc\u6570\u636e\u8fdb\u884c\u5206\u6790\u548c\u7edf\u8ba1\uff0c\u6240\u4ee5\u53ef\u80fd\u4f1a\u9650\u5236\u5b83\u7684\u4f7f\u7528\u3002\u5e76\u4e14\u56e0\u4e3aQUIC\u662f\u5355\u72ec\u5bf9\u6bcf\u4e2a\u6570\u636e\u5305\u8fdb\u884c\u52a0\u5bc6\u7684\uff0c\u5728\u9ad8\u5e76\u53d1\u7684\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u4f1a\u9020\u6210\u6027\u80fd\u95ee\u9898\u3002<\/p>\n

\u89e3\u51b3HoL\u963b\u585e<\/strong><\/span><\/div>\n

\u4f20\u7edf\u7684HTTP1.1\u548cHTTP2\u5e95\u5c42\u534f\u8bae\u662fTCP\uff0c\u867d\u7136HTTP2\u5728\u5e94\u7528\u5c42\u53ef\u4ee5\u5c06\u4e0d\u540c\u6587\u4ef6\u7684\u6570\u636e\u62c6\u5206\u6210\u4e00\u4e2a\u4e2a\u7684stream\u653e\u5728\u540c\u4e00\u4e2a\u8fde\u63a5\u4e2d\u8fdb\u884c\u4f20\u8f93\u3002\u4f46\u662f\u5bf9\u4e8eTCP\u672c\u8eab\u6765\u8bf4\uff0c\u5b83\u5e76\u4e0d\u77e5\u9053\u8fd9\u4e9bstream\u5c5e\u4e8e\u4e0d\u540c\u7684\u6587\u4ef6\uff0c\u5b83\u4f1a\u5c06\u5176\u5f53\u6210\u540c\u4e00\u4e2a\u6587\u4ef6\u3002\u6240\u4ee5\u5982\u679c\u53d1\u9001\u6570\u636e\u4e22\u5305\u7684\u60c5\u51b5\uff0cTCP\u4f1a\u91cd\u65b0\u53d1\u9001\u6240\u6709\u7684\u6587\u4ef6\u5305\u3002\u4ece\u800c\u5bfc\u81f4HOL\u963b\u585e\u7684\u95ee\u9898\u3002<\/p>\n

\u800cQUIC\u66f4\u52a0\u7ec6\u7c92\u5ea6\u4e00\u70b9\uff0c\u5b83\u53ef\u4ee5\u5728\u6bcf\u4e2a\u6d41\u7684\u57fa\u7840\u4e0a\u6267\u884c\u4e22\u5305\u68c0\u6d4b\u548c\u6062\u590d\u903b\u8f91\u3002\u4ece\u800c\u53ea\u4f1a\u91cd\u53d1\u5931\u8d25\u7684\u6d41\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u6587\u4ef6\u3002<\/p>\n

\u8fde\u63a5\u7684\u8fc1\u79fb<\/strong><\/span><\/div>\n

\u5728TCP\u4e2d\uff0c\u5982\u679c\u6211\u60f3\u8981\u5efa\u7acb\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684\u8fde\u63a5\uff0c\u9700\u8981\u77e5\u9053\u8fd94\u4e2a\u5143\u7d20\uff1a\u5ba2\u6237\u7aefIP\u5730\u5740 + \u5ba2\u6237\u7aef\u7aef\u53e3 + \u670d\u52a1\u5668IP\u5730\u5740 + \u670d\u52a1\u5668\u7aef\u53e3\u3002<\/p>\n

\u5982\u679c\u8fd94\u4e2a\u5143\u7d20\u4e2d\u6709\u4e00\u4e2a\u53d1\u9001\u4e86\u53d8\u5316\uff0c\u5219\u9700\u8981\u91cd\u65b0\u5efa\u7acbTCP\u8fde\u63a5\u3002\u5e76\u4e14\u9700\u8981\u6839\u636e\u5e94\u7528\u7a0b\u5e8f\u7ea7\u534f\u8bae\uff0c\u91cd\u65b0\u542f\u52a8\u8fdb\u7a0b\u4e2d\u7684\u64cd\u4f5c\u3002<\/p>\n

\u6bd4\u5982\u4f60\u6b63\u5728\u4e0b\u8f7d\u4e00\u4e2a\u5927\u7684\u6587\u4ef6\uff0c\u4f46\u662f\u7f51\u7edc\u5730\u5740\u7a81\u7136\u53d1\u751f\u4e86\u53d8\u5316\uff0c\u5219\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u8bf7\u6c42\u8be5\u6587\u4ef6\u3002<\/p>\n

\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0cQUIC\u5f15\u5165\u4e86\u4e00\u4e2a\u540d\u4e3a\u8fde\u63a5\u6807\u8bc6\u7b26(CID)\u7684\u6982\u5ff5 \u3002 \u6bcf\u4e2a\u8fde\u63a5\u90fd\u5728\u4e0a\u8ff04\u4e2a\u5143\u7d20\u4e2d\u989d\u5916\u5206\u914d\u4e00\u4e2a\u7f16\u53f7\uff0c\u7528\u4e8e\u6807\u8bb0\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684\u552f\u4e00\u8fde\u63a5\u3002<\/p>\n

\u56e0\u4e3a\u8fd9\u4e2aCID\u662f\u7531QUIC\u5b9a\u4e49\u7684\uff0c\u6240\u4ee5\u4e0d\u4f1a\u968f\u7740\u7f51\u7edc\u8fc1\u79fb\u7684\u53d8\u5316\u800c\u53d8\u5316\u3002\u4ece\u800c\u4e0d\u9700\u8981\u65b0\u7684\u63e1\u624b\uff0c\u8fd9\u79cd\u60c5\u51b5\u88ab\u79f0\u4e3a\u8fde\u63a5\u8fc1\u79fb \u3002<\/p>\n

\u603b\u7ed3<\/strong><\/div>\n

\u597d\u4e86\uff0c\u4eca\u5929\u7684HTTP\/3\u548cQUIC\u5c31\u4ecb\u7ecd\u5230\u8fd9\u91cc\uff0c\u867d\u7136\u6211\u4eec\u6ca1\u6709\u6d89\u53ca\u5230\u5e95\u5c42\u7684\u66f4\u591a\u7ec6\u8282\uff0c\u4f46\u662f\u76f8\u4fe1\u5927\u5bb6\u5e94\u8be5\u90fd\u542c\u5f97\u660e\u767d\u4e86\uff0c\u518d\u603b\u7ed3\u4e00\u4e0b\uff0cQUIC\u5b9e\u9645\u4e0a\u884c\u5c31\u662f\u5728UDP\u534f\u8bae\u4e4b\u4e0a\uff0c\u518d\u9020\u4e86\u4e00\u4e2a\u66f4\u52a0\u9ad8\u7ea7\u6709\u6548\u7684TCP\u534f\u8bae\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5f88\u591a\u5c0f\u4f19\u4f34\u53ef\u80fd\u8fd8\u6c89\u6d78\u5728HTTP1.1\u7684\u4e16\u754c\u65e0\u6cd5\u81ea\u62d4\uff0c\u4f46\u662f\u65f6\u4ee3\u7684\u6d2a\u6d41\u5df2\u7ecf\u5e26\u9886\u6211\u4eec\u6765\u5230\u4e86HTTP3\u7684\u4e16\u754c\u4e86\u3002\u662f\u7684\uff0c […]<\/p>\n","protected":false},"author":1482,"featured_media":211310,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-225773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/225773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1482"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=225773"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/225773\/revisions"}],"predecessor-version":[{"id":225775,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/225773\/revisions\/225775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/211310"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=225773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=225773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=225773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}