author | Nick Hengeveld <nickh@reactrix.com> | |
Fri, 18 Nov 2005 19:02:58 +0000 (11:02 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 20 Nov 2005 04:17:24 +0000 (20:17 -0800) | ||
commit | 29508e1efb8d5a18f78ca0f9be45fdde49ef6b76 | |
tree | f7c3d39fe3db6da3a307da385a7a1cb563ed15f7 | tree | snapshot |
parent | 80e21a9ed809d98788ff6fb705d911bee37d460b | commit | diff |
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>
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 | diff | blob | history | |
http-fetch.c | diff | blob | history | |
http-push.c | diff | blob | history | |
http.c | [new file with mode: 0644] | blob |
http.h | [new file with mode: 0644] | blob |