Commit 7a0aa0f
committed
net/http: fix zombie connection leaked
When `Server.IdleTimeout` is not zero and after the first request, the client sends part of the data of a full request, and the data is no less than 4 bytes, the idle timeout which has been set will be reset to zero here and would never close the conn:
https://github.com/golang/go/blob/master/src/net/http/server.go#L19961 parent c1f2213 commit 7a0aa0f
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1989 | 1989 | | |
1990 | 1990 | | |
1991 | 1991 | | |
1992 | | - | |
1993 | | - | |
1994 | | - | |
| 1992 | + | |
1995 | 1993 | | |
1996 | 1994 | | |
1997 | 1995 | | |
| |||
0 commit comments