Skip Menu |
 

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 78626
Status: resolved
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.003



Subject: Request: more TCP_* macros
Date: Sat, 28 Jul 2012 03:04:57 -0400
To: bug-Socket [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
Download (untitled) / with headers
text/plain 800b
AnyEvent-7.01 looks for a bunch of Socket::TCP_* macros, providing hardcoded fallback assumptions if they are not found. Some of them are not. It would be helpful from a portability standpoint if Socket supplied them so we get the actual platform "correct" (from .h) values. I'm on OS X, where AnyEvent is looking for the following non-provided macros: TCP_NOPUSH, TCP_NOOPT, TCP_CONNECTIONTIMEOUT. I do see them in my /usr/include/netinet/tcp.h (at least as of OS X 10.6, not sure how far back they were initially provided), so it doesn't seem like it would be hard to add them to the Socket::* set. The full Socket::* macro detection for all platforms is in the table at the end of http://cpansearch.perl.org/src/MLEHMANN/AnyEvent-7.01/constants.pl.PL dan -- Daniel Macks dmacks@netspace.org
Download (untitled) / with headers
text/plain 658b
On Sat Jul 28 03:05:17 2012, dmacks@netspace.org wrote: Show quoted text
> are not. It would be helpful from a portability standpoint if > Socket supplied them so we get the actual platform "correct" (from > .h) values. I'm on OS X, where AnyEvent is looking for the > following non-provided macros: TCP_NOPUSH, TCP_NOOPT, > TCP_CONNECTIONTIMEOUT. I do see them in my > /usr/include/netinet/tcp.h (at least as of OS X 10.6, not sure how > far back they were initially provided), so it doesn't seem like it > would be hard to add them to the Socket::* set.
These three now added to Socket in upstream source; will be in next release. -- Paul Evans
Subject: Re: [rt.cpan.org #78626] Request: more TCP_* macros
Date: Tue, 14 Aug 2012 21:43:17 -0400
To: bug-Socket [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
Download (untitled) / with headers
text/plain 421b
On Fri, 3 Aug 2012 07:27:42 -0400, Paul Evans via RT <bug-Socket@rt.cpan.org> wrote: Show quoted text
> > These three now added to Socket in upstream source; will be in next release.
Thanks! Do you have an ETA for the new version, or a patch for this change? I'm a downstream packager with other packages waiting on this, trying to figure out when to schedule my next set of releases. dan -- Daniel Macks dmacks@netspace.org
Download (untitled) / with headers
text/plain 354b
On Tue Aug 14 21:43:27 2012, dmacks@netspace.org wrote: Show quoted text
> Do you have an ETA for the new version, or a patch for this change? > I'm > a downstream packager with other packages waiting on this, trying to > figure out when to schedule my next set of releases.
Once I've finished looking into the other bug I'll release them both together. -- Paul Evans
Released in 2.003. -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.