|
657ce4b5
|
2011-10-01T12:58:55
|
|
http-transport: Properly cleanup the WSA context
|
|
1e5b2635
|
2011-10-01T12:58:17
|
|
http-transport: Update copyright
|
|
bad53552
|
2011-09-30T23:48:27
|
|
netops: abstract away socket closing
Winsock wants us to use closesocket() instead of close(), so introduce
the gitno_close function, which does the right thing.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
ccc9872d
|
2011-09-30T17:21:30
|
|
Initialise the winsock DLL
Windows wants us to initialise the networking DLL before we're allowed
to send data through a socket. Call WSASetup and WSACleanup if
GIT_WIN32 is defined.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
887eaf4d
|
2011-09-23T17:36:37
|
|
Fix dev branch under MSVC
In libgit2: Move an enum out of an int bitfield in the HTTP transport.
In the parser: Use int bitfields and change some variable sizes to
better fit thir use. Variables that count the size of the data chunk
can only ever be as large as off_t. Warning 4127 can be ignored, as
nobody takes it seriously anyway.
From Emeric: change some variable declarations to keep MSVC happy.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
4ee8418a
|
2011-09-21T22:14:09
|
|
http: get rid of the global state
Move the header parsing state into the transport, making use of the
existing bitfield.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
7e08191a
|
2011-09-11T14:51:27
|
|
http: also store Content-Type if it's the last field
When Content-Type is the last field, we only know when we can store it
when we reach on_headers_complete.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
5604f928
|
2011-09-11T14:42:31
|
|
http: store which service to expect
Depending on what we want to do, we expect the Content-Type field to
have different contents. Store which service to expect instead of
hard-coding the string.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
1b762900
|
2011-09-09T13:18:52
|
|
Implement ls-remote over smart HTTP
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|
|
3d975abc
|
2011-09-02T14:20:43
|
|
Add HTTP transport skeleton
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|