diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-26 09:44:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-26 09:44:46 +0000 |
commit | ed164e7221f75d3d7f48351e9427f2ce53ab284a (patch) | |
tree | 02b5682b5b239673ace2add072f4ea6d836e3194 /gmid.h | |
parent | da0821b6cb54a85bcbe76cdf0a9a16f8f1a14619 (diff) |
call getnameinfo() only once per request
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -281,6 +281,8 @@ struct client { size_t reqlen; struct iri iri; char domain[DOMAIN_NAME_LEN]; + char rhost[NI_MAXHOST]; + char rserv[NI_MAXSERV]; struct bufferevent *bev; |