Issue 1103350: send/recv SEGMENT_SIZE should be used more in socketmodule (original) (raw)

Created on 2005-01-16 15:01 by irmen, last changed 2022-04-11 14:56 by admin.

Messages (8)
msg60634 - (view) Author: Irmen de Jong (irmen) (Python triager) Date: 2005-01-16 15:01
socketmodule.c contains a SEGMENT_SIZE define that is used to limit the send/recv buffer size on VMS. But IMO there are two problems: 1) it should also be used on windows, because windows doesn't like a large send/recv buffer either, 2) it should be used in more places: at least sendall, but perhaps also recvfrom, sendto ad 1: see also this bug: http://www.python.org/sf/853507
msg60635 - (view) Author: Irmen de Jong (irmen) (Python triager) Date: 2005-03-03 17:17
Logged In: YES user_id=129426 Btw: I'm not too experienced with Win32 programming and so I don't have a very good argumentation for the buffer size issue on this platform. If there is somebody with better understanding of the issues involved here, please advise. (it's just empirical knowledge that I have that leads me to believe that win32's tcp implementation suffers from similar recv/send size problems as VMS does-- for which a special case was made in the code)
msg82111 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-02-14 19:09
Any clarifications on this RFE's merit appreciated.
msg114398 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-19 18:46
Is there any interest in this?
msg114485 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-21 11:17
I'll close this in a couple of weeks unless anyone objects.
msg115605 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-09-04 18:45
No reply to .
msg127745 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-02-02 18:11
Looks like this was closed due to lack of appropriate people reviewing it, rather than because such a review was done.
msg388721 - (view) Author: Erlend E. Aasland (erlendaasland) * (Python triager) Date: 2021-03-15 09:58
FYI, the SEGMENT_SIZE define was removed by af01f668173d4061893148b54a0f01b91c7716c2 (bpo-16136).
History
Date User Action Args
2022-04-11 14:56:09 admin set github: 41449
2021-03-15 09:58:09 erlendaasland set nosy: + erlendaaslandmessages: +
2011-02-02 18:11:46 r.david.murray set nosy: - BreamoreBoy
2011-02-02 18:11:32 r.david.murray set status: closed -> openversions: + Python 3.3, - Python 2.7nosy: + tim.golden, brian.curtin, r.david.murraymessages: + resolution: out of date ->
2010-09-04 18:45:52 BreamoreBoy set status: pending -> closedresolution: out of datemessages: +
2010-08-21 11:17:23 BreamoreBoy set status: open -> pendingmessages: +
2010-08-19 18:46:02 BreamoreBoy set nosy: + BreamoreBoymessages: +
2009-02-14 19:09:12 ajaksu2 set type: enhancementmessages: + nosy: + ajaksu2versions: + Python 2.7
2005-01-16 15:01:11 irmen create