From 51760bc13d2699b34b0015b406242107cfa68b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= <carlos@cmartin.tk> Date: Wed, 5 Oct 2011 18:11:22 +0200 Subject: pkt: get rid of the chunked support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was a bad idea. Signed-off-by: Carlos MartÃn Nieto <carlos@cmartin.tk> --- src/netops.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/netops.c') diff --git a/src/netops.c b/src/netops.c index 5d17e1769..dad296a94 100644 --- a/src/netops.c +++ b/src/netops.c @@ -152,20 +152,6 @@ int gitno_close(GIT_SOCKET s) } #endif -int gitno_send_chunk_size(int s, size_t len) -{ - char str[8] = {0}; - int ret; - - ret = p_snprintf(str, sizeof(str), "%zx\r\n", len); - if (ret >= (int) sizeof(str)) { - return git__throw(GIT_ESHORTBUFFER, "Your number is too big"); - } - - return gitno_send(s, str, ret, 0 /* TODO: MSG_MORE */); -} - - int gitno_select_in(gitno_buffer *buf, long int sec, long int usec) { fd_set fds; -- cgit v1.2.1