<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/libgit2/transports, branch ethomson/objectformat</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: Update httpclient options when reusing an existing connection.</title>
<updated>2022-10-20T01:04:56+00:00</updated>
<author>
<name>Sebastian Lackner</name>
<email>sebastian.lackner@sysmagine.com</email>
</author>
<published>2022-10-06T03:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f8683b7a93c54db3df510fbb8593082c2667bfcd'/>
<id>f8683b7a93c54db3df510fbb8593082c2667bfcd</id>
<content type='text'>
Httpclient internally stores a copy of the certificate_check callback and
payload. When connecting via HTTPS, and if the server sends back
"Connection: close" after the first request, the following request would
attempt to re-use the httpclient and call the (now outdated) callback. In
particular for pygit2 this is a problem, since callbacks / payloads are only
valid for the duration of a libgit2 call, leading to a ffi.from_handle()
error and crashing the Python interpreter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Httpclient internally stores a copy of the certificate_check callback and
payload. When connecting via HTTPS, and if the server sends back
"Connection: close" after the first request, the following request would
attempt to re-use the httpclient and call the (now outdated) callback. In
particular for pygit2 this is a problem, since callbacks / payloads are only
valid for the duration of a libgit2 call, leading to a ffi.from_handle()
error and crashing the Python interpreter.
</pre>
</div>
</content>
</entry>
<entry>
<title>winhttp: handle long custom headers</title>
<updated>2022-07-22T03:18:03+00:00</updated>
<author>
<name>Kevin Saul</name>
<email>kevinsaul@gmail.com</email>
</author>
<published>2022-07-22T03:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=f5670326ffc7bd27e61b676df60f788c8f7106f1'/>
<id>f5670326ffc7bd27e61b676df60f788c8f7106f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sha256: indirection for experimental functions</title>
<updated>2022-07-14T02:50:33+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-07-14T02:25:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=b43567d655b6fbc562a165095a6980d19c4ae278'/>
<id>b43567d655b6fbc562a165095a6980d19c4ae278</id>
<content type='text'>
The experimental function signature is only available when
`GIT_EXPERIMENTAL_SHA256` is enabled.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The experimental function signature is only available when
`GIT_EXPERIMENTAL_SHA256` is enabled.
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: give oids a type</title>
<updated>2022-06-20T21:05:29+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-01-23T14:47:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3fbf580c91935ccdea25a135204419991f503b63'/>
<id>3fbf580c91935ccdea25a135204419991f503b63</id>
<content type='text'>
`git_oid`s now have a type, and we require the oid type when creating
the object id from creation functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`git_oid`s now have a type, and we require the oid type when creating
the object id from creation functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: `GIT_OID_*SZ` is now `GIT_OID_SHA1_*SIZE`</title>
<updated>2022-06-15T02:29:57+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-01-23T04:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=dbc4ac1c76827e954e0aa27afe8bb7e0b8993a93'/>
<id>dbc4ac1c76827e954e0aa27afe8bb7e0b8993a93</id>
<content type='text'>
In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ`
need to indicate that they're the size of _SHA1_ OIDs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for SHA256 support, `GIT_OID_RAWSZ` and `GIT_OID_HEXSZ`
need to indicate that they're the size of _SHA1_ OIDs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply suggestions from code review</title>
<updated>2022-06-11T21:29:15+00:00</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2022-06-11T21:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a75416761c28326262b8c48ebc81f34702fa33b1'/>
<id>a75416761c28326262b8c48ebc81f34702fa33b1</id>
<content type='text'>
Co-authored-by: Edward Thomson &lt;ethomson@github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Edward Thomson &lt;ethomson@github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>transport: introduce `git_transport_smart_remote_connect_options`</title>
<updated>2022-04-16T15:23:22+00:00</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2022-04-16T15:19:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=1d88605ca9d51f9e8695030853d5914743fbb091'/>
<id>1d88605ca9d51f9e8695030853d5914743fbb091</id>
<content type='text'>
6fc6eeb66c40310086c8f059cae41de69ad4c6da removed
`git_transport_smart_proxy_option`, and there was nothing added to
replace it. That made it hard for custom transports / smart
subtransports to know what remote connect options to use (e.g. proxy
options).

This change introduces `git_transport_smart_remote_connect_options` to
replace it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6fc6eeb66c40310086c8f059cae41de69ad4c6da removed
`git_transport_smart_proxy_option`, and there was nothing added to
replace it. That made it hard for custom transports / smart
subtransports to know what remote connect options to use (e.g. proxy
options).

This change introduces `git_transport_smart_remote_connect_options` to
replace it.
</pre>
</div>
</content>
</entry>
<entry>
<title>http: skip processing when body is null or 0 length</title>
<updated>2022-02-27T15:02:05+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-02-27T15:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=241d838f4878c251290291be1fb847cc6c6cbd03'/>
<id>241d838f4878c251290291be1fb847cc6c6cbd03</id>
<content type='text'>
Mistakenly `&amp;&amp;` when we should have `||`d.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mistakenly `&amp;&amp;` when we should have `||`d.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: `src` is now `src/libgit2`</title>
<updated>2022-02-23T03:07:44+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-11-14T13:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ef4ab2988320005cbcb3db920e6b41f10b3c60cf'/>
<id>ef4ab2988320005cbcb3db920e6b41f10b3c60cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
