mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
http-parser: use our bundled http-parser by default
Our bundled http-parser includes bugfixes, therefore we should prefer our http-parser until such time as we can identify that the system http-parser has these bugfixes (using a version check). Since these bugs are - at present - minor, retain the ability for users to force that they want to use the system http-parser anyway. This does change the cmake specification so that people _must_ opt-in to the new behavior knowingly.
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
v0.28 + 1
|
||||
---------
|
||||
|
||||
### Breaking CMake configuration changes
|
||||
|
||||
* The CMake option to use a system http-parser library, instead of the
|
||||
bundled dependency, has changed. This is due to a deficiency in
|
||||
http-parser that we have fixed in our implementation. The bundled
|
||||
library is now the default, but if you wish to force the use of the
|
||||
system http-parser implementation despite incompatibilities, you can
|
||||
specify `-DUSE_HTTP_PARSER=system` to CMake.
|
||||
|
||||
### Changes or improvements
|
||||
|
||||
* libgit2 can now correctly cope with URLs where the host contains a colon
|
||||
but a port is not specified. (eg `http://example.com:/repo.git`).
|
||||
|
||||
v0.28
|
||||
-----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user