Return to s_client.c CVS log | Up to [local] / src / usr.bin / openssl |
version 1.2, 2014/09/01 20:54:37 | version 1.3, 2014/10/13 02:39:09 | ||
---|---|---|---|
|
|
||
BIO_printf(bio_c_out, "CONNECTED(%08X)\n", s); | BIO_printf(bio_c_out, "CONNECTED(%08X)\n", s); | ||
if (c_nbio) { | if (c_nbio) { | ||
unsigned long l = 1; | if (!c_quiet) | ||
BIO_printf(bio_c_out, "turning on non blocking io\n"); | BIO_printf(bio_c_out, "turning on non blocking io\n"); | ||
if (BIO_socket_ioctl(s, FIONBIO, &l) < 0) { | if (!BIO_socket_nbio(s, 1)) { | ||
ERR_print_errors(bio_err); | ERR_print_errors(bio_err); | ||
goto end; | goto end; | ||
} | } |