https://github.com/git/git
Revision b76b4cd4f1d822686374c5fdeb68ab0aac28bff1 authored by Junio C Hamano on 16 June 2015, 21:33:45 UTC, committed by Junio C Hamano on 16 June 2015, 21:33:45 UTC
Communication between the HTTP server and http_backend process can
lead to a dead-lock when relaying a large ref negotiation request.
Diagnose the situation better, and mitigate it by reading such a
request first into core (to a reasonable limit).

* jk/http-backend-deadlock:
  http-backend: spool ref negotiation requests to buffer
  t5551: factor out tag creation
  http-backend: fix die recursion with custom handler
2 parent s 070d276 + 636614f
Raw File
Tip revision: b76b4cd4f1d822686374c5fdeb68ab0aac28bff1 authored by Junio C Hamano on 16 June 2015, 21:33:45 UTC
Merge branch 'jk/http-backend-deadlock' into maint
Tip revision: b76b4cd
varint.h
#ifndef VARINT_H
#define VARINT_H

extern int encode_varint(uintmax_t, unsigned char *);
extern uintmax_t decode_varint(const unsigned char **);

#endif /* VARINT_H */
back to top