Strange code in net.http.server

I cannot understand this code in file net.http.server

Seems like
c.rwc.SetReadDeadline(time.Now().Add(d)) (line 1821) has no effect,
because line 1826 runs always.

Can anyone clarify what really happens?

Sorry, I get out it, the timeout is for the next read on line 1822.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.