Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29251
Modified Files:
Tag: XQuery_0-16
shttpd.c
Log Message:
Fix the problem that the XRPC client failed to receive all results when
trying to get large document (>=100MB) via XRPC: shttpd should not
interfere with connections that are handled by the xrpc handler and
conclude that a long running query has expired the EXPIRATION time.
Index: shttpd.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/shttpd.c,v
retrieving revision 1.19.4.4
retrieving revision 1.19.4.5
diff -u -d -r1.19.4.4 -r1.19.4.5
--- shttpd.c 1 Mar 2007 18:56:44 -0000 1.19.4.4
+++ shttpd.c 1 Mar 2007 22:31:22 -0000 1.19.4.5
@@ -2954,10 +2954,11 @@
* If the connection is removed, keep the previous
* connection in chain (pc) unchanged.
*/
- if ((c->flags & FLAG_FINISHED) || c->expire < now)
- disconnect(c, pc);
- else
- pc = c;
+ if ( (c->io != do_embedded) &&
+ ((c->flags & FLAG_FINISHED) || c->expire < now) )
+ disconnect(c, pc);
+ else
+ pc = c;
}
}
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins