You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/02/03 06:17:21 UTC

[GitHub] [trafficserver] masaori335 commented on a change in pull request #7445: Add PROXY Protocol Builder

masaori335 commented on a change in pull request #7445:
URL: https://github.com/apache/trafficserver/pull/7445#discussion_r569156702



##########
File path: iocore/net/ProxyProtocol.cc
##########
@@ -55,7 +56,11 @@ constexpr uint8_t PPv2_PROTO_UNIX_DATAGRAM = 0x32;
 
 constexpr uint16_t PPv2_ADDR_LEN_INET  = 4 + 4 + 2 + 2;
 constexpr uint16_t PPv2_ADDR_LEN_INET6 = 16 + 16 + 2 + 2;
-// constexpr uint16_t PPv2_ADDR_LEN_UNIX  = 108 + 108;
+constexpr uint16_t PPv2_ADDR_LEN_UNIX  = 108 + 108;
+
+constexpr size_t TS_IPv4_LEN = sizeof(in_addr_t); ///< 4

Review comment:
       Moved




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org