| 234 | } |
| 235 | |
| 236 | bool |
| 237 | http2_write_settings(const Http2SettingsParameter ¶m, const IOVec &iov) |
| 238 | { |
| 239 | byte_pointer ptr(iov.iov_base); |
| 240 | |
| 241 | if (unlikely(iov.iov_len < HTTP2_SETTINGS_PARAMETER_LEN)) { |
| 242 | return false; |
| 243 | } |
| 244 | |
| 245 | write_and_advance(ptr, param.id); |
| 246 | write_and_advance(ptr, param.value); |
| 247 | |
| 248 | return true; |
| 249 | } |
| 250 | |
| 251 | bool |
| 252 | http2_write_ping(const uint8_t *opaque_data, IOVec iov) |
no test coverage detected