This repository was archived by the owner on Aug 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +59
-209
lines changed Expand file tree Collapse file tree 6 files changed +59
-209
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ libisc_la_HEADERS = \
8
8
include/isc/align.h \
9
9
include/isc/ascii.h \
10
10
include/isc/assertions.h \
11
- include/isc/astack.h \
12
11
include/isc/async.h \
13
12
include/isc/atomic.h \
14
13
include/isc/attributes.h \
@@ -122,7 +121,6 @@ libisc_la_SOURCES = \
122
121
aes.c \
123
122
ascii.c \
124
123
assertions.c \
125
- astack.c \
126
124
async.c \
127
125
backtrace.c \
128
126
base32.c \
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
33
34
34
/* Core Types. Alphabetized by defined type. */
35
35
36
- typedef struct isc_astack isc_astack_t ; /*%< Array-based fast stack */
37
- typedef struct isc_buffer isc_buffer_t ; /*%< Buffer */
38
- typedef ISC_LIST (isc_buffer_t ) isc_bufferlist_t ; /*%< Buffer List */
36
+ typedef struct isc_buffer isc_buffer_t ; /*%< Buffer */
37
+ typedef ISC_LIST (isc_buffer_t ) isc_bufferlist_t ; /*%< Buffer List */
39
38
typedef struct isc_constregion isc_constregion_t ; /*%< Const region */
40
39
typedef struct isc_consttextregion isc_consttextregion_t ; /*%< Const Text Region
41
40
*/
Original file line number Diff line number Diff line change 18
18
#include <openssl/err.h>
19
19
#include <openssl/ssl.h>
20
20
21
- #include <isc/astack.h>
22
21
#include <isc/atomic.h>
23
22
#include <isc/barrier.h>
24
23
#include <isc/buffer.h>
@@ -201,6 +200,7 @@ typedef struct isc__networker {
201
200
202
201
ISC_LIST (isc_nmsocket_t ) active_sockets ;
203
202
203
+ isc_mempool_t * uvreq_pool ;
204
204
} isc__networker_t ;
205
205
206
206
ISC_REFCOUNT_DECL (isc__networker );
@@ -245,6 +245,7 @@ struct isc_nmhandle {
245
245
int backtrace_size ;
246
246
#endif
247
247
LINK (isc_nmhandle_t ) active_link ;
248
+ LINK (isc_nmhandle_t ) inactive_link ;
248
249
void * opaque ;
249
250
};
250
251
@@ -323,6 +324,7 @@ struct isc__nm_uvreq {
323
324
uv_fs_t fs ;
324
325
} uv_req ;
325
326
ISC_LINK (isc__nm_uvreq_t ) link ;
327
+ ISC_LINK (isc__nm_uvreq_t ) inactive_link ;
326
328
};
327
329
328
330
void *
@@ -987,8 +989,7 @@ struct isc_nmsocket {
987
989
* 'spare' handles for that can be reused to avoid allocations,
988
990
* for UDP.
989
991
*/
990
- isc_astack_t * inactivehandles ;
991
- isc_astack_t * inactivereqs ;
992
+ ISC_LIST (isc_nmhandle_t ) inactive_handles ;
992
993
993
994
/*%
994
995
* Used to pass a result back from listen or connect events.
You can’t perform that action at this time.
0 commit comments