I recently stumbled over the following lines in ThreadedAppServer:
def makeInput(self):
return self._sock.makefile("rb",8012)
Is there any reason why the number 8012 was chosen? I assume the intend
was to use an 8192 Byte (8k) buffer, and this is just a typo, or am I
ove
On 3/23/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> I recently stumbled over the following lines in ThreadedAppServer:
>
> def makeInput(self):
> return self._sock.makefile("rb",8012)
>
> Is there any reason why the number 8012 was chosen? I assume the intend
> was
Chuck Esterbrook wrote:
> On 3/23/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>> I recently stumbled over the following lines in ThreadedAppServer:
>>
>> def makeInput(self):
>> return self._sock.makefile("rb",8012)
>>
>> Is there any reason why the number 8012 was ch
On 3/23/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Chuck Esterbrook wrote:
> > On 3/23/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> >> I recently stumbled over the following lines in ThreadedAppServer:
> >>
> >> def makeInput(self):
> >> return self._sock.m
Chuck Esterbrook wrote:
> All sounds good except I wonder if making it relative to threads is
> worthwhile the level of indirection. We can just default it to twice
> the size. But I leave it up to you. Maybe there's something I'm
> missing.
I wanted to explicitly set it to something in the defaul
On 3/23/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> Chuck Esterbrook wrote:
> > All sounds good except I wonder if making it relative to threads is
> > worthwhile the level of indirection. We can just default it to twice
> > the size. But I leave it up to you. Maybe there's something I'm
>