Changeset 559 for pjproject/trunk
- Timestamp:
- Jun 28, 2006 3:23:18 PM (18 years ago)
- Location:
- pjproject/trunk/pjlib/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_winnt.c
r365 r559 185 185 *accept_overlapped->newsock_ptr = accept_overlapped->newsock; 186 186 accept_overlapped->operation = 0; 187 accept_overlapped->newsock = PJ_INVALID_SOCKET;188 187 } 189 188 … … 633 632 accept_rec->newsock, 634 633 PJ_SUCCESS); 634 accept_rec->newsock = PJ_INVALID_SOCKET; 635 635 } 636 636 break; -
pjproject/trunk/pjlib/src/pjlib-test/ioq_tcp.c
r433 r559 83 83 int status) 84 84 { 85 PJ_UNUSED_ARG(sock); 86 87 callback_accept_key = key; 88 callback_accept_op = op_key; 89 callback_accept_status = status; 85 if (sock == PJ_INVALID_SOCKET) { 86 87 if (status != PJ_SUCCESS) { 88 /* Ignore. Could be blocking error */ 89 app_perror(".....warning: received error in on_ioqueue_accept() callback", 90 status); 91 } else { 92 callback_accept_status = -61; 93 PJ_LOG(3,("", "..... on_ioqueue_accept() callback was given " 94 "invalid socket and status is %d", status)); 95 } 96 } else { 97 callback_accept_key = key; 98 callback_accept_op = op_key; 99 callback_accept_status = status; 100 } 90 101 } 91 102 -
pjproject/trunk/pjlib/src/pjlib-test/test.h
r509 r559 49 49 #define INCLUDE_TCP_IOQUEUE_TEST GROUP_NETWORK 50 50 #define INCLUDE_IOQUEUE_PERF_TEST GROUP_NETWORK 51 #define INCLUDE_IOQUEUE_UNREG_TEST 1 //GROUP_NETWORK51 #define INCLUDE_IOQUEUE_UNREG_TEST GROUP_NETWORK 52 52 #define INCLUDE_FILE_TEST GROUP_FILE 53 53
Note: See TracChangeset
for help on using the changeset viewer.