Hi Birger,
On 18.09.13 16:23, Birger wrote:
> I am very confused about this phenomenon.
I think it's just timing related. A connection might be cleaned up by a
periodic garbage collection while there's still data available that
needs to be sent out. I've just uploaded DEVEL.201309181756.tar.bz2
which should/could/might fix that, unless I've missed yet another code
part where this could be relevant.
--- main.c 2012/10/06 07:41:01 1.267
+++ main.c 2013/09/18 15:54:51
@@ -179,7 +179,7 @@
{
rb_node_t *rbn, *rbnext;
- if ((ctx->timeout || ctx->dying)
+ if (!ctx->out && !ctx->delayed && (ctx->timeout || ctx->dying)
&& (ctx->last_io + ctx->timeout < io_now.tv_sec)) {
cleanup(ctx, ctx->sock);
return;
> Which OS do you use and recommend in production?
I really don't believe that this is an OS issue. Frankly, I prefer the
BSDs (no matter which), mostly because these run on a small footprint
and don't waste space with packages I don't need. And my development box
is a Mac, with an API that's pretty close to FreeBSD.
Cheers,
Marc