mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Reduce struct isc__nm_uvreq size from 1560 to 560 bytes
The uv_req union member of struct isc__nm_uvreq contained libuv request types that we don't use. Turns out that uv_getnameinfo_t is 1000 bytes big and unnecessarily enlarged the whole structure. Remove all the unused members from the uv_req union.
This commit is contained in:
parent
2367b6a2e1
commit
eada7b6e13
1 changed files with 0 additions and 5 deletions
|
|
@ -301,14 +301,9 @@ struct isc__nm_uvreq {
|
|||
|
||||
union {
|
||||
uv_handle_t handle;
|
||||
uv_req_t req;
|
||||
uv_getaddrinfo_t getaddrinfo;
|
||||
uv_getnameinfo_t getnameinfo;
|
||||
uv_shutdown_t shutdown;
|
||||
uv_write_t write;
|
||||
uv_connect_t connect;
|
||||
uv_udp_send_t udp_send;
|
||||
uv_fs_t fs;
|
||||
} uv_req;
|
||||
ISC_LINK(isc__nm_uvreq_t) link;
|
||||
ISC_LINK(isc__nm_uvreq_t) active_link;
|
||||
|
|
|
|||
Loading…
Reference in a new issue