| 140 | } |
| 141 | |
| 142 | static int WriteAck(Socket* s, const void* data, size_t n) { |
| 143 | butil::IOBuf sendbuf; |
| 144 | sendbuf.append(data, n); |
| 145 | Socket::WriteOptions wopt; |
| 146 | wopt.ignore_eovercrowded = true; |
| 147 | return s->Write(&sendbuf, &wopt); |
| 148 | } |
| 149 | |
| 150 | // [ https://tools.ietf.org/html/rfc7540#section-6.5.1 ] |
| 151 |
no test coverage detected