[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"site-config":3,"primary-menu":6,"cat-network":85,"catposts-network":99,"post-detail-post-net-http-status-0d879b34":208},{"config":4,"socialLinks":5},null,[],{"metadata":7,"spec":10,"menuItems":20},{"name":8,"creationTimestamp":9},"primary","2026-09-12T06:13:55.024154Z",{"displayName":11,"menuItems":12},"主菜单",[13,14,15,16,17,18,19],"88c3f10b-321c-4092-86a8-70db00251b74","menu-item-izrtmxer","c4c814d1-0c2c-456b-8c96-4864965fee94","menu-item-column","menu-item-tools","menu-item-zsxq","menu-item-ocrxlczu",[21,30,40,49,58,67,76],{"displayName":22,"metadata":23,"spec":25,"status":28,"children":29},"首页",{"name":13,"creationTimestamp":24},"2026-09-12T06:13:54.422830Z",{"displayName":22,"href":26,"priority":27,"menuName":8},"\u002F",0,{"displayName":22,"href":26},[],{"displayName":31,"metadata":32,"spec":34,"status":38,"children":39},"Java面试八股",{"name":14,"creationTimestamp":33},"2026-09-13T09:42:02.854891Z",{"displayName":31,"href":35,"target":36,"priority":37,"menuName":8},"\u002Fjava-interview","_self",1,{"displayName":31,"href":35},[],{"displayName":41,"metadata":42,"spec":44,"status":47,"children":48},"文章",{"name":15,"creationTimestamp":43},"2026-09-12T06:13:54.457307Z",{"displayName":41,"href":45,"priority":46,"menuName":8},"\u002Farchives",2,{"displayName":41,"href":45},[],{"displayName":50,"metadata":51,"spec":53,"status":56,"children":57},"项目实战",{"name":16,"creationTimestamp":52},"2026-09-14T00:35:08.138170Z",{"displayName":50,"href":54,"target":36,"priority":55,"menuName":8},"\u002Fcolumn",3,{"displayName":50,"href":54},[],{"displayName":59,"metadata":60,"spec":62,"status":65,"children":66},"在线工具",{"name":17,"creationTimestamp":61},"2026-09-14T00:35:08.171474Z",{"displayName":59,"href":63,"target":36,"priority":64,"menuName":8},"\u002Ftools",4,{"displayName":59,"href":63},[],{"displayName":68,"metadata":69,"spec":71,"status":74,"children":75},"知识星球",{"name":18,"creationTimestamp":70},"2026-09-14T00:35:08.199145Z",{"displayName":68,"href":72,"target":36,"priority":73,"menuName":8},"\u002Fzsxq",5,{"displayName":68,"href":72},[],{"displayName":77,"metadata":78,"spec":80,"status":83,"children":84},"特价云服务器",{"name":19,"creationTimestamp":79},"2026-09-25T15:30:59.201614Z",{"displayName":77,"href":81,"target":36,"priority":82,"menuName":8},"\u002Fserver",6,{"displayName":77,"href":81},[],{"metadata":86,"spec":91,"status":97,"postCount":73},{"name":87,"creationTimestamp":88,"labels":89},"network","2026-09-13T09:13:25.868986Z",{"haloweb.section":90},"interview",{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},"计算机网络面试题","","计算机网络面试题：TCP\u002FIP、HTTP\u002FHTTPS、握手挥手、DNS 与常见网络问题排查。",14,false,{"permalink":98,"postCount":73,"visiblePostCount":73},"\u002Fcategories\u002Fnetwork",[100,124,145,166,187],{"metadata":101,"spec":104,"status":113,"categories":118},{"name":102,"creationTimestamp":103},"post-net-http-status-0d879b34","2026-09-13T10:01:06.196220Z",{"title":105,"slug":106,"cover":93,"excerpt":107,"publishTime":109,"categories":110,"tags":111,"priority":27,"pinned":96,"deleted":96,"visible":112,"allowComment":108},"常见 HTTP 状态码？","net-http-status",{"raw":93,"autoGenerate":108},true,"2026-09-13T10:01:06.253755Z",[87],[],"PUBLIC",{"permalink":114,"excerpt":115,"lastModifyTime":116,"phase":117},"\u002Farchives\u002Fnet-http-status","一、1xx 信息 100 Continue：继续发送。 二、2xx 成功 200 OK：请求成功。 201 Created：资源创建成功。 204 No Content：成功但无响应体。 206 Partial Content：范围请求。 三、3xx 重定向 301 Moved Permanentl","2026-09-16T09:14:44.134667Z","PUBLISHED",[119],{"metadata":120,"spec":122,"status":123,"postCount":73},{"name":87,"creationTimestamp":88,"labels":121},{"haloweb.section":90},{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},{"permalink":98,"postCount":73,"visiblePostCount":73},{"metadata":125,"spec":128,"status":135,"categories":139},{"name":126,"creationTimestamp":127},"post-net-http-https-ab8b6109","2026-09-13T10:01:05.852794Z",{"title":129,"slug":130,"cover":93,"excerpt":131,"publishTime":132,"categories":133,"tags":134,"priority":27,"pinned":96,"deleted":96,"visible":112,"allowComment":108},"HTTP 和 HTTPS 的区别？","net-http-https",{"raw":93,"autoGenerate":108},"2026-09-13T10:01:06.045966Z",[87],[],{"permalink":136,"excerpt":137,"lastModifyTime":138,"phase":117},"\u002Farchives\u002Fnet-http-https","一、核心区别 HTTPS = HTTP + TLS\u002FSSL，在 HTTP 和 TCP 之间加了加密层。 二、对比 维度 HTTP HTTPS 端口 80 443 传输 明文 加密 证书 不需要 需要 CA 证书 安全 易被窃听\u002F篡改 机密性+完整性+身份认证 性能 较快 略慢（TLS 握手） 三、T","2026-09-16T09:14:46.033294Z",[140],{"metadata":141,"spec":143,"status":144,"postCount":73},{"name":87,"creationTimestamp":88,"labels":142},{"haloweb.section":90},{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},{"permalink":98,"postCount":73,"visiblePostCount":73},{"metadata":146,"spec":149,"status":156,"categories":160},{"name":147,"creationTimestamp":148},"post-net-tcp-vs-udp-39b5d32e","2026-09-13T10:01:05.685781Z",{"title":150,"slug":151,"cover":93,"excerpt":152,"publishTime":153,"categories":154,"tags":155,"priority":27,"pinned":96,"deleted":96,"visible":112,"allowComment":108},"TCP 和 UDP 的区别？","net-tcp-vs-udp",{"raw":93,"autoGenerate":108},"2026-09-13T10:01:05.743404Z",[87],[],{"permalink":157,"excerpt":158,"lastModifyTime":159,"phase":117},"\u002Farchives\u002Fnet-tcp-vs-udp","一、对比 维度 TCP UDP 连接 面向连接 无连接 可靠性 可靠 不可靠 顺序 保证 不保证 流量控制 有 无 拥塞控制 有 无 首部大小 20~60 字节 8 字节 性能 较低 较高 二、TCP 保证可靠的机制 序列号 + 确认应","2026-09-16T09:14:43.649091Z",[161],{"metadata":162,"spec":164,"status":165,"postCount":73},{"name":87,"creationTimestamp":88,"labels":163},{"haloweb.section":90},{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},{"permalink":98,"postCount":73,"visiblePostCount":73},{"metadata":167,"spec":170,"status":177,"categories":181},{"name":168,"creationTimestamp":169},"post-net-tcp-four-way-bc1b2a69","2026-09-13T10:01:05.371016Z",{"title":171,"slug":172,"cover":93,"excerpt":173,"publishTime":174,"categories":175,"tags":176,"priority":27,"pinned":96,"deleted":96,"visible":112,"allowComment":108},"TCP 四次挥手过程？","net-tcp-four-way",{"raw":93,"autoGenerate":108},"2026-09-13T10:01:05.571824Z",[87],[],{"permalink":178,"excerpt":179,"lastModifyTime":180,"phase":117},"\u002Farchives\u002Fnet-tcp-four-way","一、过程 客户端发 FIN=1, seq=u，进入 FIN_WAIT_1。 服务端回 ACK=1, ack=u+1，进入 CLOSE_WAIT；客户端进入 FIN_WAIT_2。 服务端发完数据后发 FIN=1, seq=w，进入 LAST_ACK。 客户端回 ACK=1, ack=w+1，进入 T","2026-09-16T09:14:45.072516Z",[182],{"metadata":183,"spec":185,"status":186,"postCount":73},{"name":87,"creationTimestamp":88,"labels":184},{"haloweb.section":90},{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},{"permalink":98,"postCount":73,"visiblePostCount":73},{"metadata":188,"spec":191,"status":198,"categories":202},{"name":189,"creationTimestamp":190},"post-net-tcp-three-way-88b96e5c","2026-09-13T10:01:05.179293Z",{"title":192,"slug":193,"cover":93,"excerpt":194,"publishTime":195,"categories":196,"tags":197,"priority":27,"pinned":96,"deleted":96,"visible":112,"allowComment":108},"TCP 三次握手过程？","net-tcp-three-way",{"raw":93,"autoGenerate":108},"2026-09-13T10:01:05.250642Z",[87],[],{"permalink":199,"excerpt":200,"lastModifyTime":201,"phase":117},"\u002Farchives\u002Fnet-tcp-three-way","一、过程 第一次：客户端发送 SYN=1, seq=x，进入 SYN_SENT 状态。 第二次：服务端回复 SYN=1, ACK=1, seq=y, ack=x+1，进入 SYN_RCVD 状态。 第三次：客户端回复 ACK=1, seq=x+1, ack=y+1，双方进入 ESTABLISHED ","2026-09-16T09:14:44.609162Z",[203],{"metadata":204,"spec":206,"status":207,"postCount":73},{"name":87,"creationTimestamp":88,"labels":205},{"haloweb.section":90},{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},{"permalink":98,"postCount":73,"visiblePostCount":73},{"metadata":209,"spec":210,"status":214,"categories":215,"content":221},{"name":102,"creationTimestamp":103},{"title":105,"slug":106,"cover":93,"excerpt":211,"publishTime":109,"categories":212,"tags":213,"priority":27,"pinned":96,"deleted":96,"visible":112,"allowComment":108},{"raw":93,"autoGenerate":108},[87],[],{"permalink":114,"excerpt":115,"lastModifyTime":116,"phase":117},[216],{"metadata":217,"spec":219,"status":220,"postCount":73},{"name":87,"creationTimestamp":88,"labels":218},{"haloweb.section":90},{"displayName":92,"slug":87,"cover":93,"description":94,"priority":95,"hideFromList":96,"preventParentPostCascadeQuery":96},{"permalink":98,"postCount":73,"visiblePostCount":73},{"content":222,"raw":222},"\u003Ch2>一、1xx 信息\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>100 Continue：继续发送。\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>二、2xx 成功\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>200 OK：请求成功。\u003C\u002Fli>\n\u003Cli>201 Created：资源创建成功。\u003C\u002Fli>\n\u003Cli>204 No Content：成功但无响应体。\u003C\u002Fli>\n\u003Cli>206 Partial Content：范围请求。\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>三、3xx 重定向\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>301 Moved Permanently：永久重定向。\u003C\u002Fli>\n\u003Cli>302 Found：临时重定向。\u003C\u002Fli>\n\u003Cli>304 Not Modified：缓存有效。\u003C\u002Fli>\n\u003Cli>307 Temporary Redirect：临时重定向，保持请求方法。\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>四、4xx 客户端错误\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>400 Bad Request：请求语法错误。\u003C\u002Fli>\n\u003Cli>401 Unauthorized：未认证。\u003C\u002Fli>\n\u003Cli>403 Forbidden：禁止访问。\u003C\u002Fli>\n\u003Cli>404 Not Found：资源不存在。\u003C\u002Fli>\n\u003Cli>405 Method Not Allowed：方法不允许。\u003C\u002Fli>\n\u003Cli>429 Too Many Requests：限流。\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>五、5xx 服务端错误\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>500 Internal Server Error：服务器内部错误。\u003C\u002Fli>\n\u003Cli>502 Bad Gateway：网关错误。\u003C\u002Fli>\n\u003Cli>503 Service Unavailable：服务不可用。\u003C\u002Fli>\n\u003Cli>504 Gateway Timeout：网关超时。\u003C\u002Fli>\n\u003C\u002Ful>"]