当前查询到1条专利与查询词 "孙庆尧【EN】Ma Yanlei"相关,搜索用时0.1409527秒!排序方式:
发明专利:1实用新型: 0外观设计: 0
1 条,当前第 1-1 条 返回搜索页
申请号:201911340085.7 公开号:CN111225038A 主分类号:H04L29/08
摘要:【中文】本发明公开了一种服务器访问方法及装置。其中,该方法包括:接收第一超文本传输协议HTTP请求;判断上述第一HTTP请求的第一HOST字段是否配置有第一字符串,其中,上述第一字符串用于标识上述第一HOST字段的内容;若上述第一HOST字段配置有上述第一字符串,则为第二HTTP请求的第二HOST字段配置第二字符串,其中,上述第二字符串用于标识上述第二HOST字段的内容;在为上述第二HOST字段配置上述第二字符串后,将上述第二HTTP请求发送至IPv4服务器。本发明解决了在IPv6客户端与IPv4服务器进行HTTP通信过程中,存在由于HTTP请求的域名是IPv6地址导致IPv4服务器阻止访问的技术问题。 【EN】The invention discloses a server access method and device. Wherein, the method comprises the following steps: receiving a first hypertext transfer protocol (HTTP) request; determining whether a first HOST field of the first HTTP request is configured with a first string, wherein the first string is used to identify the content of the first HOST field; configuring a second string for a second HOST field of a second HTTP request if the first string is configured in the first HOST field, wherein the second string is used to identify the content of the second HOST field; and transmitting the second HTTP request to an IPv4 server after the second string is configured for the second HOST field. The invention solves the technical problem that the IPv4 server prevents access because the domain name of the HTTP request is the IPv6 address in the HTTP communication process of the IPv6 client and the IPv4 server.
详细信息 下载全文

1 条,当前第 1-1 条 返回搜索页