[MacPorts] #65666: Need TCP_CONNECTION_INFO for <10.11

MacPorts noreply at macports.org
Sun Aug 14 16:24:48 UTC 2022


#65666: Need TCP_CONNECTION_INFO for <10.11
----------------------------+----------------------
  Reporter:  barracuda156   |      Owner:  catap
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.2
Resolution:                 |   Keywords:
      Port:  folly, wangle  |
----------------------------+----------------------

Comment (by kencu):

 looking at the commits that brought this into folly last year, they appear
 to already expect this info to be unavailable for some linux versions, and
 they work around that by examing the size of the returned struct. Then
 they only use the info if it is available, I believe.

 https://github.com/facebook/folly/commit/68a78d99d10743b54d38a550b2f0ebdc5c872f76

 For Macos, they only support versions where the info is available, so
 don’t do such checks.

 So a motivated person might look at how they manage the workaround in
 linux, and then try to implement something similar for older Macos
 versions.

-- 
Ticket URL: <https://trac.macports.org/ticket/65666#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list