[curl/curl] 34cf40: bufref: buffer reference support
monnerat <[email protected]>
| Newsgroups | gmane.comp.web.curl.cvs |
|---|---|
| Message-ID | <curl/curl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/curl/curl
Commit: 34cf40321c3cfa5160e34a87a816b7c6030c0296
https://github.com/curl/curl/commit/34cf40321c3cfa5160e34a87a816b7c6030c0296
Author: Patrick Monnerat <[email protected]>
Date: 2021-04-22 (Thu, 22 Apr 2021)
Changed paths:
A docs/BUFREF.md
M docs/Makefile.am
M lib/Makefile.inc
A lib/bufref.c
A lib/bufref.h
M tests/data/Makefile.inc
A tests/data/test1661
M tests/unit/Makefile.inc
A tests/unit/unit1661.c
Log Message:
-----------
bufref: buffer reference support
A struct bufref holds a buffer pointer, a data size and a destructor.
When freed or its contents are changed, the previous buffer is implicitly
released by the associated destructor. The data size, although not used
internally, allows binary data support.
A unit test checks its handling methods: test 1661
Closes #6654
Commit: 19ea52da4df3c3ebc399ae25e705c7a8b5d45d95
https://github.com/curl/curl/commit/19ea52da4df3c3ebc399ae25e705c7a8b5d45d95
Author: Patrick Monnerat <[email protected]>
Date: 2021-04-22 (Thu, 22 Apr 2021)
Changed paths:
M lib/curl_sasl.c
M lib/http_ntlm.c
M lib/vauth/cleartext.c
M lib/vauth/cram.c
M lib/vauth/digest.c
M lib/vauth/digest_sspi.c
M lib/vauth/gsasl.c
M lib/vauth/krb5_gssapi.c
M lib/vauth/krb5_sspi.c
M lib/vauth/ntlm.c
M lib/vauth/ntlm_sspi.c
M lib/vauth/oauth2.c
M lib/vauth/vauth.h
Log Message:
-----------
vauth: factor base64 conversions out of authentication procedures
Input challenges and returned messages are now in binary.
Conversions from/to base64 are performed by callers (currently curl_sasl.c
and http_ntlm.c).
Closes #6654
Compare: https://github.com/curl/curl/compare/a2a8f9d7300f...19ea52da4df3
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits