Isolate shared HTTP request functionality
authorNick Hengeveld <nickh@reactrix.com>
Fri, 18 Nov 2005 19:02:58 +0000 (11:02 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 20 Nov 2005 04:17:24 +0000 (20:17 -0800)
commit29508e1efb8d5a18f78ca0f9be45fdde49ef6b76
treef7c3d39fe3db6da3a307da385a7a1cb563ed15f7
parent80e21a9ed809d98788ff6fb705d911bee37d460b
Isolate shared HTTP request functionality

Move shared HTTP request functionality out of http-fetch and http-push,
and replace the two fwrite_buffer/fwrite_buffer_dynamic functions with
one fwrite_buffer function that does dynamic buffering.  Use slot
callbacks to process responses to fetch object transfer requests and
push transfer requests, and put all of http-push into an #ifdef check
for curl multi support.

Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
http-fetch.c
http-push.c
http.c [new file with mode: 0644]
http.h [new file with mode: 0644]