| 938 | } |
| 939 | |
| 940 | void TSocketOutput::DoWriteV(const TPart* parts, size_t count) { |
| 941 | const ssize_t ret = S_.SendV(parts, count); |
| 942 | |
| 943 | if (ret < 0) { |
| 944 | ythrow TSystemError(-(int)ret) << "can not writev to socket output stream"; |
| 945 | } |
| 946 | |
| 947 | /* |
| 948 | * todo for nonblocking sockets? |
| 949 | */ |
| 950 | } |
| 951 | |
| 952 | namespace { |
| 953 | // https://bugzilla.mozilla.org/attachment.cgi?id=503263&action=diff |