diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-05-12 20:48:30 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-05-13 16:42:04 +0100 |
commit | 11c89c386c8862f834097cdc5d9ed79634cf00f3 (patch) | |
tree | 4bd24e09ecbdf240534ea4dc518639831e327cf7 /src/libgit2/transports/http.c | |
parent | 6e4bbf222d8c4babaff90aef40615546c8bc9cde (diff) | |
download | libgit2-11c89c386c8862f834097cdc5d9ed79634cf00f3.tar.gz |
net: move `gitno` buffer to `staticstr`
The `gitno` buffer interface is another layer on top of socket reads.
Abstract it a bit into a "static string" that has `git_str` like
semantics but without heap allocation which moves the actual reading
logic into the socket / stream code, and allows for easier future usage
of a static / stack-allocated `git_str`-like interface.
Diffstat (limited to 'src/libgit2/transports/http.c')
-rw-r--r-- | src/libgit2/transports/http.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libgit2/transports/http.c b/src/libgit2/transports/http.c index cda76ae61..0534503bf 100644 --- a/src/libgit2/transports/http.c +++ b/src/libgit2/transports/http.c @@ -11,7 +11,6 @@ #include "http_parser.h" #include "net.h" -#include "netops.h" #include "remote.h" #include "smart.h" #include "auth.h" |