incubator-lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From goran kent <>
Subject Re: [lucy-user] Concurrent searching
Date Wed, 23 Nov 2011 12:06:09 GMT
On Wed, Nov 23, 2011 at 1:50 PM, goran kent <> wrote:
> could be autoflush or some such buffering bugger-up.

Nope, tried $sock->autoflush(1)  (even though docs say this is active
already as of v1.18), and $sock->flush.

...and further reading reveals that Perl's syswrite/sysread don't use
buffering anyway making them slower, but more reliable.... :|

What the hell is causing $client_sock->sysread( $buf, 6959) to only
return 2892 bytes!?

This is bog standard syswrite/read stuff, nothing wrong with the code AFAICS.

View raw message