could be the same problem I fixed in the 027 variant at vdr portal - interrupt (coming from key press) is handled as an error when waiting for data.
Currently I've got no time to test by my own, but the fix was in tcp.cc on the client side:
Just after select in readData (line 293 in current cvs)
#ifndef WIN32
if (success < 1 && (errno == EINTR) )continue;
#else
if (success < 1 && (WSAGetLastError() == WSAEINTR) ) continue;
#endif
Maybe someone can try this out. In theory this should also be handled for read but the chance for hitting a key when reading is much smaller then during select - so maybe not really necessary.
Regards
Andreas
Currently I've got no time to test by my own, but the fix was in tcp.cc on the client side:
Just after select in readData (line 293 in current cvs)
#ifndef WIN32
if (success < 1 && (errno == EINTR) )continue;
#else
if (success < 1 && (WSAGetLastError() == WSAEINTR) ) continue;
#endif
Maybe someone can try this out. In theory this should also be handled for read but the chance for hitting a key when reading is much smaller then during select - so maybe not really necessary.
Regards
Andreas