homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients BreamoreBoy, exarkun, giampaolo.rodola, lekma, nvetoshkin, pitrou, r.david.murray
Date 2010年10月13日.21:04:12
SpamBayes Score 6.0108378e-05
Marked as misclassified No
Message-id <1287003855.15.0.223950083466.issue7523@psf.upfronthosting.co.za>
In-reply-to
Content
> For some reason does another trip through BEGIN_SELECT_LOOP() macro
Indeed:
 if (!timeout)
+#ifdef HAVE_ACCEPT4
+ /* inherit socket flags and use accept4 call */
+ flags = s->sock_type & (SOCK_CLOEXEC | SOCK_NONBLOCK);
+ newfd = accept4(s->sock_fd, SAS2SA(&addrbuf), &addrlen, flags);
+#else
There's a missing curly brace after "if (!timeout)", so accept4() is always called.
History
Date User Action Args
2010年10月13日 21:04:15pitrousetrecipients: + pitrou, exarkun, giampaolo.rodola, r.david.murray, lekma, nvetoshkin, BreamoreBoy
2010年10月13日 21:04:15pitrousetmessageid: <1287003855.15.0.223950083466.issue7523@psf.upfronthosting.co.za>
2010年10月13日 21:04:12pitroulinkissue7523 messages
2010年10月13日 21:04:12pitroucreate

AltStyle によって変換されたページ (->オリジナル) /