[Reconnoiter-devel] [reconnoiter commit] r821 - trunk/src

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Thu Sep 10 20:53:38 EDT 2009


Author: jesus
Date: 2009-09-10 20:53:38 -0400 (Thu, 10 Sep 2009)
New Revision: 821

Modified:
   trunk/src/stratcon_jlog_streamer.h
   trunk/src/stratcon_realtime_http.c
Log:
fix accounting, refs #170

Modified: trunk/src/stratcon_jlog_streamer.h
===================================================================
--- trunk/src/stratcon_jlog_streamer.h	2009-09-09 13:09:23 UTC (rev 820)
+++ trunk/src/stratcon_jlog_streamer.h	2009-09-11 00:53:38 UTC (rev 821)
@@ -105,6 +105,8 @@
 API_EXPORT(void)
   jlog_streamer_ctx_free(void *cl);
 API_EXPORT(void)
+  noit_connection_ctx_dealloc(noit_connection_ctx_t *ctx);
+API_EXPORT(void)
   stratcon_streamer_connection(const char *toplevel, const char *destination,
                                eventer_func_t handler,
                                void *(*handler_alloc)(void), void *handler_ctx,

Modified: trunk/src/stratcon_realtime_http.c
===================================================================
--- trunk/src/stratcon_realtime_http.c	2009-09-09 13:09:23 UTC (rev 820)
+++ trunk/src/stratcon_realtime_http.c	2009-09-11 00:53:38 UTC (rev 821)
@@ -288,7 +288,7 @@
     ctx->bytes_expected = 0;
     if(ctx->buffer) free(ctx->buffer);
     ctx->buffer = NULL;
-    free_realtime_recv_ctx(ctx);
+    noit_connection_ctx_dealloc(nctx);
     eventer_remove_fd(e->fd);
     e->opset->close(e->fd, &mask, e);
     return 0;



More information about the Reconnoiter-devel mailing list