]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/http/httpd.c
Ref only the head of a pbuf chain, instead of the whole thing, to avoid leaking pbufs.
[netwatch.git] / net / http / httpd.c
index e8cdd53a0675c82b8a24f978021c154e9034e00a..3ecea9325566e774f888f1e8cd67b77415a919f0 100644 (file)
@@ -84,6 +84,8 @@ send_data(struct tcp_pcb *pcb, struct http_state *hs)
     len = hs->left;
     LWIP_ASSERT((len == hs->left), "hs->left did not fit into u16_t!");
   }
+  
+  outputf("send_data trying %d bytes", len);
 
   do {
     err = tcp_write(pcb, hs->file, len, 0);
This page took 0.019831 seconds and 4 git commands to generate.