Merge remote-tracking branch 'philipcmonk/rm-connection-printf'

remove "connection to x.x.x.x" printf
This commit is contained in:
Raymond Pasco 2016-04-19 22:43:35 -04:00
commit e8ab61be7f

View File

@ -633,11 +633,6 @@ _http_conn_new(u3_http *htp_u)
if (0 != (ret = uv_tcp_getpeername(&hon_u->wax_u, (struct sockaddr*) &name, &namelen))) { if (0 != (ret = uv_tcp_getpeername(&hon_u->wax_u, (struct sockaddr*) &name, &namelen))) {
uL(fprintf(uH, "failed to get peer name: %s\r\n", uv_strerror(ret))); uL(fprintf(uH, "failed to get peer name: %s\r\n", uv_strerror(ret)));
} }
{
char addr[16];
uv_inet_ntop(AF_INET, &name.sin_addr, addr, sizeof(addr));
uL(fprintf(uH, "connection from: %s\r\n", addr));
}
uv_read_start((uv_stream_t*)&hon_u->wax_u, uv_read_start((uv_stream_t*)&hon_u->wax_u,
_http_alloc, _http_alloc,