Lines Matching refs:socket

183     nxt_log_debug(c->socket.log, "cyassl conn init");  in nxt_cyassl_conn_init()
202 nxt_cyassl_log_error(NXT_LOG_ALERT, c->socket.log, 0, in nxt_cyassl_conn_init()
217 nxt_cyassl_conn_handshake(thr, c, c->socket.data); in nxt_cyassl_conn_init()
223 c->read_state->error_handler, c, c->socket.data); in nxt_cyassl_conn_init()
316 nxt_log_debug(thr->log, "CyaSSL_negotiate(%d): %d", c->socket.fd, ret); in nxt_cyassl_conn_handshake()
327 c->socket.fd); in nxt_cyassl_conn_handshake()
367 c->socket.fd, b->mem.free, b->mem.end - b->mem.free, ret); in nxt_cyassl_conn_io_read()
383 c->socket.fd, b->mem.free, in nxt_cyassl_conn_io_read()
416 nxt_log_debug(c->socket.log, "cyassl send"); in nxt_cyassl_conn_io_send()
424 c->socket.error = err; in nxt_cyassl_conn_io_send()
430 nxt_log_debug(c->socket.log, "CyaSSL_write(%d, %p, %uz): %d", in nxt_cyassl_conn_io_send()
431 c->socket.fd, buf, size, ret); in nxt_cyassl_conn_io_send()
442 c->socket.fd, buf, size); in nxt_cyassl_conn_io_send()
464 nxt_log_debug(thr->log, "CyaSSL_shutdown(%d): %d", c->socket.fd, ret); in nxt_cyassl_conn_io_shutdown()
467 nxt_cyassl_conn_error(c, 0, "CyaSSL_shutdown(%d) failed", c->socket.fd); in nxt_cyassl_conn_io_shutdown()
490 nxt_event_fd_block_write(thr->engine, &c->socket); in nxt_cyassl_conn_test_error()
492 c->socket.read_ready = 0; in nxt_cyassl_conn_test_error()
493 c->socket.read_handler = handler; in nxt_cyassl_conn_test_error()
495 if (nxt_event_fd_is_disabled(c->socket.read)) { in nxt_cyassl_conn_test_error()
496 nxt_event_fd_enable_read(thr->engine, &c->socket); in nxt_cyassl_conn_test_error()
502 nxt_event_fd_block_read(thr->engine, &c->socket); in nxt_cyassl_conn_test_error()
504 c->socket.write_ready = 0; in nxt_cyassl_conn_test_error()
505 c->socket.write_handler = handler; in nxt_cyassl_conn_test_error()
507 if (nxt_event_fd_is_disabled(c->socket.write)) { in nxt_cyassl_conn_test_error()
508 nxt_event_fd_enable_write(thr->engine, &c->socket); in nxt_cyassl_conn_test_error()
525 nxt_event_conn_io_handle(thr, wq, handler, c, c->socket.data); in nxt_cyassl_conn_test_error()
548 if (nxt_log_level_enough(c->socket.log, level)) { in nxt_cyassl_conn_error()
562 nxt_log_error(level, c->socket.log, "%*s", p - msg, msg); in nxt_cyassl_conn_error()