]> git.proxmox.com Git - libgit2.git/commitdiff
http: increase buffer side to deal with side-band-64k
authorCarlos Martín Nieto <carlos@cmartin.tk>
Sat, 25 Aug 2012 21:32:19 +0000 (23:32 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Sat, 25 Aug 2012 21:32:19 +0000 (23:32 +0200)
This poor transport was forgotten in the recent sideband support.

src/transports/http.c

index ce382c3ad571da8b51766f5aec68d71baa46078b..de33f56ea1923a9489bb872c3d6a583001e383ef 100644 (file)
@@ -43,7 +43,7 @@ typedef struct {
        char *host;
        char *port;
        char *service;
-       char buffer[4096];
+       char buffer[65536];
 #ifdef GIT_WIN32
        WSADATA wsd;
 #endif