<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch ethomson/1_0_1</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>v1.0.1: Update the version numbers</title>
<updated>2020-06-04T06:54:40+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-04T06:54:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=840a6a476b4e07ae2b5ff933d1d5b4423313a8ba'/>
<id>840a6a476b4e07ae2b5ff933d1d5b4423313a8ba</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 #5540 from libgit2/ethomson/1_0_1</title>
<updated>2020-06-04T06:40:35+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-04T06:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=6cd094ef6c54ce24b44fb2d392b37ca23bc512a2'/>
<id>6cd094ef6c54ce24b44fb2d392b37ca23bc512a2</id>
<content type='text'>
Release v1.0.1</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Release v1.0.1</pre>
</div>
</content>
</entry>
<entry>
<title>v1.0.1: prepare the changelog</title>
<updated>2020-06-03T09:23:09+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-03T09:23:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=11dca3ca20af4bfa74d926db5693ed2314ecceb2'/>
<id>11dca3ca20af4bfa74d926db5693ed2314ecceb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>httpclient: clear the read_buf on new requests</title>
<updated>2020-06-03T09:11:08+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-01T21:44:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=79507cd8b2fb89555fa1a900d84f24e629fdf902'/>
<id>79507cd8b2fb89555fa1a900d84f24e629fdf902</id>
<content type='text'>
The httpclient implementation keeps a `read_buf` that holds the data
in the body of the response after the headers have been written.  We
store that data for subsequent calls to `git_http_client_read_body`.  If
we want to stop reading body data and send another request, we need to
clear that cached data.

Clear the cached body data on new requests, just like we read any
outstanding data from the socket.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The httpclient implementation keeps a `read_buf` that holds the data
in the body of the response after the headers have been written.  We
store that data for subsequent calls to `git_http_client_read_body`.  If
we want to stop reading body data and send another request, we need to
clear that cached data.

Clear the cached body data on new requests, just like we read any
outstanding data from the socket.
</pre>
</div>
</content>
</entry>
<entry>
<title>httpclient: don't read more than the client wants</title>
<updated>2020-06-03T09:11:04+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-01T22:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bc61161b9879e03842a8df6764d40a49497e765e'/>
<id>bc61161b9879e03842a8df6764d40a49497e765e</id>
<content type='text'>
When `git_http_client_read_body` is invoked, it provides the size of the
buffer that can be read into.  This will be set as the parser context's
`output_size` member.  Use this as an upper limit on our reads, and
ensure that we do not read more than the client requests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When `git_http_client_read_body` is invoked, it provides the size of the
buffer that can be read into.  This will be set as the parser context's
`output_size` member.  Use this as an upper limit on our reads, and
ensure that we do not read more than the client requests.
</pre>
</div>
</content>
</entry>
<entry>
<title>httpclient: read_body should return 0 at EOF</title>
<updated>2020-06-03T09:11:01+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-06-01T18:10:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ed045f0912ad6cbc512a98ebfbdd6ea08682f4ad'/>
<id>ed045f0912ad6cbc512a98ebfbdd6ea08682f4ad</id>
<content type='text'>
When users call `git_http_client_read_body`, it should return 0 at the
end of a message.  When the `on_message_complete` callback is called,
this will set `client-&gt;state` to `DONE`.  In our read loop, we look for
this condition and exit.

Without this, when there is no data left except the end of message chunk
(`0\r\n`) in the http stream, we would block by reading the three bytes
off the stream but not making progress in any `on_body` callbacks.
Listening to the `on_message_complete` callback allows us to stop trying
to read from the socket when we've read the end of message chunk.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When users call `git_http_client_read_body`, it should return 0 at the
end of a message.  When the `on_message_complete` callback is called,
this will set `client-&gt;state` to `DONE`.  In our read loop, we look for
this condition and exit.

Without this, when there is no data left except the end of message chunk
(`0\r\n`) in the http stream, we would block by reading the three bytes
off the stream but not making progress in any `on_body` callbacks.
Listening to the `on_message_complete` callback allows us to stop trying
to read from the socket when we've read the end of message chunk.
</pre>
</div>
</content>
</entry>
<entry>
<title>online::clone: test a googlesource URL</title>
<updated>2020-06-03T09:10:57+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-05-30T14:21:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7a6566e391f50845ea81e3dc18d0da69790c31ee'/>
<id>7a6566e391f50845ea81e3dc18d0da69790c31ee</id>
<content type='text'>
Google Git (googlesource.com) behaves differently than git proper.
Test that we can communicate with it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Google Git (googlesource.com) behaves differently than git proper.
Test that we can communicate with it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: index::version: write v4 index: re-open repo to read written v4 index</title>
<updated>2020-06-03T09:10:48+00:00</updated>
<author>
<name>Patrick Wang</name>
<email>mail6543210@yahoo.com.tw</email>
</author>
<published>2020-05-26T12:36:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3939e810493b4dde595f9b523e24ad1b684ba9bb'/>
<id>3939e810493b4dde595f9b523e24ad1b684ba9bb</id>
<content type='text'>
The `git_index_free()` merely decrement the reference counter from 2 to
1, and does not "free" the index.
Thus, the following `git_repository_index()` merely increase the counter
to 2, instead of read index from disk.
The written index is not read and parsed, which makes this test case
effectively becomes a no-op.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `git_index_free()` merely decrement the reference counter from 2 to
1, and does not "free" the index.
Thus, the following `git_repository_index()` merely increase the counter
to 2, instead of read index from disk.
The written index is not read and parsed, which makes this test case
effectively becomes a no-op.
</pre>
</div>
</content>
</entry>
<entry>
<title>index: write v4: bugfix: prefix path with strip_len, not same_len</title>
<updated>2020-06-03T09:10:45+00:00</updated>
<author>
<name>Patrick Wang</name>
<email>mail6543210@yahoo.com.tw</email>
</author>
<published>2020-05-25T20:53:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=e2294859bdd1a9f65d04e1b132c2a0466b0c2bd1'/>
<id>e2294859bdd1a9f65d04e1b132c2a0466b0c2bd1</id>
<content type='text'>
According to index-format.txt of git, the path of an entry is prefixed
with N, where N indicates the length of bytes to be stripped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to index-format.txt of git, the path of an entry is prefixed
with N, where N indicates the length of bytes to be stripped.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: test that unreadable files are treated as notfound</title>
<updated>2020-06-03T09:10:34+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2020-05-23T10:42:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=8edc39df3b9268960775be840e15e4e5ad8dfd25'/>
<id>8edc39df3b9268960775be840e15e4e5ad8dfd25</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
