(buf)
| 6207 | if (client[kRunning] === 0) { |
| 6208 | util.destroy(socket, new SocketError("bad response", util.getSocketInfo(socket))); |
| 6209 | return -1; |
| 6210 | } |
| 6211 | const request = client[kQueue][client[kRunningIdx]]; |
| 6212 | if (!request) { |
| 6213 | return -1; |
| 6214 | } |
| 6215 | request.onResponseStarted(); |
| 6216 | } |
| 6217 | onHeaderField(buf) { |
| 6218 | const len = this.headers.length; |
| 6219 | if ((len & 1) === 0) { |
| 6220 | this.headers.push(buf); |
no test coverage detected