Lines Matching refs:err

54     nxt_event_conn_t *c, ssize_t err, nxt_work_handler_t handler);
56 ssize_t err, const char *fmt, ...);
57 static nxt_uint_t nxt_gnutls_log_error_level(nxt_event_conn_t *c, ssize_t err);
59 int err, const char *fmt, ...);
226 const char *err; in nxt_gnutls_set_ciphers() local
232 ret = gnutls_priority_init(&ctx->ciphers, ciphers, &err); in nxt_gnutls_set_ciphers()
242 ciphers, err); in nxt_gnutls_set_ciphers()
428 int err; in nxt_gnutls_conn_handshake() local
440 err = gnutls_handshake(ssltls->session); in nxt_gnutls_conn_handshake()
444 nxt_log_debug(thr->log, "gnutls_handshake(): %d", err); in nxt_gnutls_conn_handshake()
446 if (err == GNUTLS_E_SUCCESS) { in nxt_gnutls_conn_handshake()
451 ret = nxt_gnutls_conn_test_error(thr, c, err, nxt_gnutls_conn_handshake); in nxt_gnutls_conn_handshake()
454 nxt_gnutls_conn_log_error(c, err, "gnutls_handshake() failed"); in nxt_gnutls_conn_handshake()
459 } else if (err == GNUTLS_E_AGAIN in nxt_gnutls_conn_handshake()
573 int err; in nxt_gnutls_conn_io_shutdown() local
600 err = gnutls_bye(ssltls->session, how); in nxt_gnutls_conn_io_shutdown()
603 c->socket.fd, how, err); in nxt_gnutls_conn_io_shutdown()
605 if (err == GNUTLS_E_SUCCESS) { in nxt_gnutls_conn_io_shutdown()
609 ret = nxt_gnutls_conn_test_error(thr, c, err, in nxt_gnutls_conn_io_shutdown()
618 nxt_gnutls_conn_log_error(c, err, "gnutls_bye(%d) failed", in nxt_gnutls_conn_io_shutdown()
631 nxt_gnutls_conn_test_error(nxt_thread_t *thr, nxt_event_conn_t *c, ssize_t err, in nxt_gnutls_conn_test_error() argument
637 switch (err) { in nxt_gnutls_conn_test_error()
681 nxt_gnutls_conn_log_error(nxt_event_conn_t *c, ssize_t err, in nxt_gnutls_conn_log_error() argument
688 level = nxt_gnutls_log_error_level(c, err); in nxt_gnutls_conn_log_error()
697 p - msg, msg, err, gnutls_strerror(err)); in nxt_gnutls_conn_log_error()
703 nxt_gnutls_log_error_level(nxt_event_conn_t *c, ssize_t err) in nxt_gnutls_log_error_level() argument
707 switch (err) { in nxt_gnutls_log_error_level()
730 nxt_gnutls_log_error(nxt_uint_t level, nxt_log_t *log, int err, in nxt_gnutls_log_error() argument
741 p - msg, msg, err, gnutls_strerror(err)); in nxt_gnutls_log_error()