Loading evaluation/demonstration/middlebox (2.11 MiB) File changed.No diff preview for this file type. View original file View changed file evaluation/demonstration/middlebox.c +3 −3 Original line number Diff line number Diff line Loading @@ -300,11 +300,11 @@ int handle_previous_hop_data(SSL* prev_ssl, SSL* next_ssl) status = SSL_get_error(prev_ssl, r); if (status == SSL_ERROR_ZERO_RETURN || status != SSL_ERROR_NONE) { printf ("[MBOX ERROR PREVHOP] Error code %ld\n", status); //printf ("[MBOX ERROR PREVHOP] Error code %ld\n", status); ERR_print_errors_fp(stdout); char tempBuf[100]; ERR_error_string(status, tempBuf); printf("[MBOX ERROR PREVHOP] Connection with previous hop closed, exiting previous hop handler (error %s)\n", tempBuf); printf("[MBOX PREVHOP] Connection with previous hop closed, exiting previous hop handler (SSL reason %s)\n", tempBuf); break; } else if (status != SSL_ERROR_NONE) Loading Loading @@ -377,7 +377,7 @@ int handle_next_hop_data(SSL* prev_ssl, SSL* next_ssl) status = SSL_get_error(next_ssl, r); if (status == SSL_ERROR_ZERO_RETURN || status != SSL_ERROR_NONE) { printf("[MBOX ERROR NEXTHOP] Connection with next hop closed, exiting next hop handler and also closing previous hop connection\n"); printf("[MBOX NEXTHOP] Connection with next hop closed, exiting next hop handler and also closing previous hop connection\n"); break; } else if (status != SSL_ERROR_NONE) Loading Loading
evaluation/demonstration/middlebox (2.11 MiB) File changed.No diff preview for this file type. View original file View changed file
evaluation/demonstration/middlebox.c +3 −3 Original line number Diff line number Diff line Loading @@ -300,11 +300,11 @@ int handle_previous_hop_data(SSL* prev_ssl, SSL* next_ssl) status = SSL_get_error(prev_ssl, r); if (status == SSL_ERROR_ZERO_RETURN || status != SSL_ERROR_NONE) { printf ("[MBOX ERROR PREVHOP] Error code %ld\n", status); //printf ("[MBOX ERROR PREVHOP] Error code %ld\n", status); ERR_print_errors_fp(stdout); char tempBuf[100]; ERR_error_string(status, tempBuf); printf("[MBOX ERROR PREVHOP] Connection with previous hop closed, exiting previous hop handler (error %s)\n", tempBuf); printf("[MBOX PREVHOP] Connection with previous hop closed, exiting previous hop handler (SSL reason %s)\n", tempBuf); break; } else if (status != SSL_ERROR_NONE) Loading Loading @@ -377,7 +377,7 @@ int handle_next_hop_data(SSL* prev_ssl, SSL* next_ssl) status = SSL_get_error(next_ssl, r); if (status == SSL_ERROR_ZERO_RETURN || status != SSL_ERROR_NONE) { printf("[MBOX ERROR NEXTHOP] Connection with next hop closed, exiting next hop handler and also closing previous hop connection\n"); printf("[MBOX NEXTHOP] Connection with next hop closed, exiting next hop handler and also closing previous hop connection\n"); break; } else if (status != SSL_ERROR_NONE) Loading