Lines Matching refs:tcpdone
191 ssize_t tcpdone;
198 tcpdone = recv(recvfd, buf, sizeof(buf), 0);
199 pjdlog_debug(2, "%s: recv() returned %zd", __func__, tcpdone);
200 if (tcpdone == 0) {
203 } else if (tcpdone == -1) {
211 ssldone = SSL_write(sendssl, buf, (int)tcpdone);
218 PJDLOG_ASSERT(ssldone == tcpdone);
230 ssize_t tcpdone;
246 tcpdone = send(sendfd, ptr, todo, MSG_NOSIGNAL);
248 tcpdone);
249 if (tcpdone == 0) {
252 } else if (tcpdone == -1) {
261 todo -= tcpdone;
262 ptr += tcpdone;