15 June 2010: Wouter
- tag 1.4.5 created.
- trunk contains 1.4.6 in development.
+ - Fix TCPreply on systems with no writev, if just 1 byte could be sent.
11 June 2010: Wouter
- When retry to parent the retrycount is not wiped, so failed
log_assert(iov[1].iov_len > 0);
r = writev(fd, iov, 2);
#else /* HAVE_WRITEV */
- r = send(fd, (void*)&len, sizeof(uint16_t), 0);
+ r = send(fd, (void*)(((uint8_t*)&len)+c->tcp_byte_count),
+ sizeof(uint16_t)-c->tcp_byte_count, 0);
#endif /* HAVE_WRITEV */
if(r == -1) {
#ifndef USE_WINSOCK