| 101 | } |
| 102 | |
| 103 | void |
| 104 | write(TSVConn vc, TSCont contp) |
| 105 | { |
| 106 | TSReleaseAssert(this->vio == nullptr); |
| 107 | this->iobuf = TSIOBufferCreate(); |
| 108 | TSReleaseAssert(this->iobuf); |
| 109 | this->reader = TSIOBufferReaderAlloc(this->iobuf); |
| 110 | TSReleaseAssert(this->reader); |
| 111 | |
| 112 | this->vio = TSVConnWrite(vc, contp, this->reader, INT64_MAX); |
| 113 | } |
| 114 | }; |
| 115 | |
| 116 | // A simple encapsulation of the IO state of a TSVConn. We need the TSVConn itself, and the |
no test coverage detected