Lines 832-837
Link Here
|
832 |
} |
832 |
} |
833 |
} |
833 |
} |
834 |
|
834 |
|
|
|
835 |
#define TO_PEEK 1 |
836 |
if (TO_PEEK > 0 && |
837 |
(context->overlapped.Pointer == NULL) && |
838 |
(context->accept_socket != INVALID_SOCKET)) { |
839 |
char buffer[TO_PEEK]; |
840 |
|
841 |
rc = recv(context->accept_socket, buffer, TO_PEEK, MSG_PEEK); |
842 |
if (rc == SOCKET_ERROR) { |
843 |
ap_log_error(APLOG_MARK, APLOG_ERR, apr_get_netos_error(), |
844 |
ap_server_conf, |
845 |
"worker_main: recv(MSG_PEEK) error"); |
846 |
} |
847 |
} |
848 |
|
835 |
e = context->overlapped.Pointer; |
849 |
e = context->overlapped.Pointer; |
836 |
|
850 |
|
837 |
ap_create_sb_handle(&sbh, context->ptrans, 0, thread_num); |
851 |
ap_create_sb_handle(&sbh, context->ptrans, 0, thread_num); |