<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch cmn/http-recv-buffer</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>http: make sure we can consume the data we request</title>
<updated>2014-08-16T20:21:12+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-08-16T20:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=294c6f29645018fffdfdd01f9b65238e877dd6eb'/>
<id>294c6f29645018fffdfdd01f9b65238e877dd6eb</id>
<content type='text'>
The recv buffer (parse_buffer) and the buffer have independent sizes and
offsets. We try to fill in parse_buffer as much as possible before
passing it to the http parser. This is fine most of the time, but fails
us when the buffer is almost full.

In those situations, parse_buffer can have more data than we would be
able to put into the buffer (which may be getting full if we're towards
the end of a data sideband packet).

To work around this, we check if the space we have left on our buffer is
smaller than what could come from the network. If this happens, we make
parse_buffer think that it has as much space left as our buffer, so it
won't try to retrieve more data than we can deal with.

As the start of the data may no longer be at the start of the buffer, we
need to keep track of where it really starts (data_offset) and use that
in our calculations for the real size of the data we received from the
network.

This fixes #2518.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The recv buffer (parse_buffer) and the buffer have independent sizes and
offsets. We try to fill in parse_buffer as much as possible before
passing it to the http parser. This is fine most of the time, but fails
us when the buffer is almost full.

In those situations, parse_buffer can have more data than we would be
able to put into the buffer (which may be getting full if we're towards
the end of a data sideband packet).

To work around this, we check if the space we have left on our buffer is
smaller than what could come from the network. If this happens, we make
parse_buffer think that it has as much space left as our buffer, so it
won't try to retrieve more data than we can deal with.

As the start of the data may no longer be at the start of the buffer, we
need to keep track of where it really starts (data_offset) and use that
in our calculations for the real size of the data we received from the
network.

This fixes #2518.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2521 from jacquesg/remote-ls-not-connected</title>
<updated>2014-08-15T21:10:45+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-08-15T21:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=fa44a1699ccd70725b236868ef4be5cac8c36267'/>
<id>fa44a1699ccd70725b236868ef4be5cac8c36267</id>
<content type='text'>
git_remote_ls() crashes before connect is called</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git_remote_ls() crashes before connect is called</pre>
</div>
</content>
</entry>
<entry>
<title>git_remote_ls() should return an error if the transport is not available</title>
<updated>2014-08-15T20:56:15+00:00</updated>
<author>
<name>Jacques Germishuys</name>
<email>jacquesg@striata.com</email>
</author>
<published>2014-08-15T20:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=dc8adda4f1430df3ab0144e4c14773445142104c'/>
<id>dc8adda4f1430df3ab0144e4c14773445142104c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2497 from ethomson/kerberos3</title>
<updated>2014-08-15T18:33:38+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>vicent@github.com</email>
</author>
<published>2014-08-15T18:33:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e1c4429038d9b8f260edcc17c6d7ec03959ad563'/>
<id>e1c4429038d9b8f260edcc17c6d7ec03959ad563</id>
<content type='text'>
SPNEGO authentication via GSSAPI</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SPNEGO authentication via GSSAPI</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce proper http authentication API</title>
<updated>2014-08-15T18:11:56+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-08-14T16:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=23135afa6f96ac63e65fd318918565222e46f65a'/>
<id>23135afa6f96ac63e65fd318918565222e46f65a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add GSSAPI support for SPNEGO/Kerberos auth over HTTP</title>
<updated>2014-08-15T15:12:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-07-31T22:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=315cb38e1e32e77037e82c6cbdc383c151041112'/>
<id>315cb38e1e32e77037e82c6cbdc383c151041112</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce git_buf_decode_base64</title>
<updated>2014-08-15T15:12:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2014-07-31T19:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=e003f83a5840d6e9966f1830768771bcd205ba52'/>
<id>e003f83a5840d6e9966f1830768771bcd205ba52</id>
<content type='text'>
Decode base64-encoded text into a git_buf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Decode base64-encoded text into a git_buf
</pre>
</div>
</content>
</entry>
<entry>
<title>Perform HTTP keep-alive</title>
<updated>2014-08-15T15:12:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-07-31T22:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=40867266bf964ed6acb2344e594e0c49106c3c67'/>
<id>40867266bf964ed6acb2344e594e0c49106c3c67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>online::clone::credentials support default credentials</title>
<updated>2014-08-15T15:12:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-08-01T17:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=adcdeb36b0892c61832eb9add0b5cd6e9610e064'/>
<id>adcdeb36b0892c61832eb9add0b5cd6e9610e064</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Free references during push validation</title>
<updated>2014-08-15T15:12:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-08-15T15:10:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f96e7e6c94e4c414b4ec7e3a7bb37482488b3a80'/>
<id>f96e7e6c94e4c414b4ec7e3a7bb37482488b3a80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
