[GH-ISSUE #344] 源码版本IE使用goproxy,相同域名不同端口连续访问异常情况 #259

Closed
opened 2026-02-27 23:16:13 +03:00 by kerem · 0 comments
Owner

Originally created by @wlwinston on GitHub (Dec 26, 2019).
Original GitHub issue: https://github.com/snail007/goproxy/issues/344

IE早一些版本如IE7,在访问abc:8000端口后继续访问相同域名abc:8080端口的资源,会返回404错误,目前根据源码分析,问题可能是第一次访问8000端口时在func (s *HTTP) callback(inConn net.Conn)里建立了client->proxy-server的链路,后续再切换至访问8080端口资源时,client端没有发起新的tcp链接,而是直接走了已经建立的链路导致请求被发送到了abc:8000端口所以被返回404。
而后又测试了一下最新的8.8版本的binary包,发现没有这类问题。不知是否是已经修复此类问题?可否提供一下解决思路?十分感谢。

Originally created by @wlwinston on GitHub (Dec 26, 2019). Original GitHub issue: https://github.com/snail007/goproxy/issues/344 IE早一些版本如IE7,在访问abc:8000端口后继续访问相同域名abc:8080端口的资源,会返回404错误,目前根据源码分析,问题可能是第一次访问8000端口时在func (s *HTTP) callback(inConn net.Conn)里建立了client->proxy-server的链路,后续再切换至访问8080端口资源时,client端没有发起新的tcp链接,而是直接走了已经建立的链路导致请求被发送到了abc:8000端口所以被返回404。 而后又测试了一下最新的8.8版本的binary包,发现没有这类问题。不知是否是已经修复此类问题?可否提供一下解决思路?十分感谢。
kerem closed this issue 2026-02-27 23:16:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#259
No description provided.