mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #521] i/o timeout when some clients connect to the proxy #422
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#422
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KewaiiGamer on GitHub (Jan 22, 2023).
Original GitHub issue: https://github.com/snail007/goproxy/issues/521
Expected Behavior
Client should be able to connect to proxy
Current Behavior
goproxy is giving i/o timeout when some clients try to connect.
Steps to Reproduce
Context (Environment)
Detailed Description
As I have discussed on telegram not all customers have this issue. Dev already said it is issue with client not sending correct http header.
Possible Implementation
This is the line of code on free version where the eror happens.
github.com/snail007/goproxy@f7b3a76582/utils/structs.go (L249)I also noticed the maximum bytes used on conn.Read() is defined as 4096 as seen at
github.com/snail007/goproxy@03670bfad1/services/http.go (L72)Note: I have the commercial version
@snail007 commented on GitHub (Jan 22, 2023):
try increase read buffer,
--http-header-buffer=8192or greater