Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the IO CPAN distribution.

Report information
The Basics
Id: 52166
Status: resolved
Priority: 0/
Queue: IO

Owner: Nobody in particular
Requestors: eponymousalias [...]

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

MIME-Version: 1.0
X-Ymail-Osg: 8P9b4bwVM1naWEYjY0nuEm7faphfq9pIZTjBrn617FSJiFkakkvGEKq7axb_Run41KzgU32T2KFU.K6pwkSx5SxdT3hOD1W0IQ5yo9.QxaFUI856tsWBS_ovbJrtVNY1sZ3BK6Pg_B9McfINGAL2HxYyqfSZpYATL08hSh2hmzoBeucLr1Cz3bQBnA.zrtYH5LqrkdEh8oAVWrEKCC.X7_K8HzQ6EdA0pDgpbI9c4jIcqsKteIP_bY2amY45vORiKyiq8kOYfTPJt2PZYhvZLIZR0gJUDkSSw7H46amb4G0J5SZb3IU.FgyPisY5pnknTZNOfMTGFDTZgCc3nkI10Ei0tL2LOxTdpXLyNoaUyuSi0_lyxDC_YX_4g2j_lhGiCA8oZ3mwZMRjNeNta31YO3WGwScsqaaQOaGxeE3BTw--
X-Spam-Status: No, hits=0.0 required=8.0 tests=DK_POLICY_TESTING,DK_SIGNED,DK_VERIFIED
X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/
X-Virus-Checked: Checked by ClamAV on
Content-Type: multipart/mixed; boundary="0-1062668035-1259480473=:59409"
Message-ID: <490737.59409.qm [...]>
Received: from ( []) by (Postfix) with SMTP id 4A20719B802A for <bug-IO [...]>; Sun, 29 Nov 2009 02:41:19 -0500 (EST)
Received: (qmail 19792 invoked by uid 103); 29 Nov 2009 07:41:18 -0000
Received: from ( by with QMQP; 29 Nov 2009 07:41:18 -0000
Received: from (HELO ( by (qpsmtpd/0.80) with SMTP; Sat, 28 Nov 2009 23:41:16 -0800
Received: (qmail 60452 invoked by uid 60001); 29 Nov 2009 07:41:13 -0000
Received: from [] by via HTTP; Sat, 28 Nov 2009 23:41:13 PST
Delivered-To: cpan-bug+IO [...]
Subject: support needed in IO::Socket::INET for SO_SNDBUF and SO_RCVBUF
Return-Path: <eponymousalias [...]>
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=C8Ud7lICSRzxI3Rc5yD0tKGNpeBSdhzWZrHwk7l0VTf5uX2490qtYr28st7slpH/qxmwYiDA2eU7Oq3harOaxtIT+jp2KXZ9nr2IgF8x+vJRhCmTd+bY6YwAP5DQ429AAM3V1O5lHTcDMcUcAFgJKtmDiY6QvtbkLpMTWmA7RG4=;
X-Original-To: bug-IO [...]
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=s1024; t=1259480473; bh=Xxj/X+GlBc19dLlvp3g7z/L8BGq9SgWnlF15Ftzw2v4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=f9E13cTE7Y1TFGIhQyTkWlMp2tDhhqURGaMQ4T0YnElCA9NYBkLV1admeHUBCkUR1XmXsgp00HKybemikaGvF404rxXx5J1hwEnOB3BWp2qMju9okZZJqrYSm+chMrKiWPaL4/3TBCxEvpZ2Cu4edl8+C3rZZkgbAEn0jjJg/CQ=
Date: Sat, 28 Nov 2009 23:41:13 -0800 (PST)
X-Spam-Level: *
To: bug-IO [...]
From: eponymous alias <eponymousalias [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Content-Length: 861
Download (untitled) / with headers
text/plain 861b
The Linux tcp(7) man page says in part: The maximum sizes for socket buffers declared via the SO_SNDBUF and SO_RCVBUF mechanisms are limited by the global net.core.rmem_max and net.core.wmem_max sysctls. ... On individual connections, the socket buffer size must be set prior to the listen() or connect() calls in order to have it take effect. This last sentence means that the IO::Socket::INET constructor must provide options to set the send and receive buffers if they are to be controllable, since the constructor does not return until after the listen() or connect() call has already been made. I propose that two new options be added to the constructor: SendBuf => $send_buffer_size RecvBuf => $recv_buffer_size so that these values can be set when the socket is created. The attached provides this capability.
content-type: text/x-patch; name=""
content-disposition: attachment; filename=""
Content-Transfer-Encoding: base64
Content-Length: 1393
text/x-diff 1.3k

Message body is not shown because sender requested not to inline it.

X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-18748-1524177256-957.52166-0-0 [...]>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 65
Ticket migrated to github as

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

Please report any issues with to