(conn net.Conn)
| 136 | } |
| 137 | |
| 138 | func writeZeroChunk(conn net.Conn) error { |
| 139 | if _, err := conn.Write(endSignal); err != nil { |
| 140 | return err |
| 141 | } |
| 142 | return nil |
| 143 | } |
| 144 | |
| 145 | // HalfClose only works after the request negotiated the reuse command. |
| 146 | func HalfClose(conn net.Conn) error { |
no test coverage detected