aboutsummaryrefslogtreecommitdiffstats
path: root/lib/http_client.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2012-11-11 17:57:20 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2012-11-11 17:57:20 +0000
commit1388d303ba0d2097ff745d4a17192195cebbd349 (patch)
tree80abf227c150858e4949b4658229f19c3379b767 /lib/http_client.h
parent62f6b45d2056b90f57b908cd9bc9b6a995365c43 (diff)
Mostly finished HTTP streaming support: Shrink the buffer and add a
http_close().
Diffstat (limited to 'lib/http_client.h')
-rw-r--r--lib/http_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http_client.h b/lib/http_client.h
index fddc5158..38175b70 100644
--- a/lib/http_client.h
+++ b/lib/http_client.h
@@ -88,3 +88,4 @@ struct http_request *http_dorequest_url( char *url_string, http_input_function f
/* For streaming connections only; flushes len bytes at the start of the buffer. */
void http_flush_bytes( struct http_request *req, size_t len );
+void http_close( struct http_request *req );