#
ad9bc597 |
| 17-May-2022 |
max.mehl |
copyright: make repository REUSE compliant Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the
copyright: make repository REUSE compliant Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
show more ...
|
#
7d600ad1 |
| 14-Feb-2022 |
Daniel Stenberg |
urldata: remove conn->bits.user_passwd The authentication status should be told by the transfer and not the connection. Reported-by: John H. Ayad Fixes #8449 Closes #8451
|
#
d9c61a97 |
| 08-Feb-2022 |
Patrick Monnerat |
openldap: pass string length arguments to client_write() This uses the new STRCONST() macro and saves 2 strlen() calls on short string constants per LDIF output line. Closes #84
openldap: pass string length arguments to client_write() This uses the new STRCONST() macro and saves 2 strlen() calls on short string constants per LDIF output line. Closes #8404
show more ...
|
#
26101421 |
| 03-Feb-2022 |
Daniel Stenberg |
lib: remove support for CURL_DOES_CONVERSIONS TPF was the only user and support for that was dropped. Closes #8378
|
#
5236ed0e |
| 31-Jan-2022 |
Daniel Stenberg |
openldap: fix compiler warning when built without SSL support openldap.c:841:52: error: unused parameter ‘data’ [-Werror=unused-parameter] Closes #8367
|
#
eeca818b |
| 10-Jan-2022 |
Patrick Monnerat |
openldap: implement SASL authentication As credentials can be quite different depending on the mechanism used, there are no default mechanisms for LDAP and simple bind with a DN is t
openldap: implement SASL authentication As credentials can be quite different depending on the mechanism used, there are no default mechanisms for LDAP and simple bind with a DN is then used. The caller has to provide mechanism(s) using CURLOPT_LOGIN_OPTIONS to enable SASL authentication and disable simple bind. Closes #8152
show more ...
|
#
cdc1da91 |
| 14-Dec-2021 |
Patrick Monnerat |
openldap: several minor improvements - Early check proper LDAP URL syntax. Reject URLs with a userinfo part. - Use dynamic memory for ldap_init_fd() URL rather than a stack-allocat
openldap: several minor improvements - Early check proper LDAP URL syntax. Reject URLs with a userinfo part. - Use dynamic memory for ldap_init_fd() URL rather than a stack-allocated buffer. - Never chase referrals: supporting it would require additional parallel connections and alternate authentication credentials. - Do not wait 1 microsecond while polling/reading query response data. - Store last received server code for retrieval with CURLINFO_RESPONSE_CODE. Closes #8140
show more ...
|
#
2300ad26 |
| 12-Dec-2021 |
Patrick Monnerat |
openldap: simplify ldif generation code and take care of zero-length values, avoiding conversion to base64 and/or trailing spaces. Closes #8136
|
#
b40e4c0d |
| 06-Dec-2021 |
Patrick Monnerat |
openldap: process search query response messages one by one Upon receiving large result sets, this reduces memory consumption and allows starting to output results while the transfer is
openldap: process search query response messages one by one Upon receiving large result sets, this reduces memory consumption and allows starting to output results while the transfer is still in progress. Closes #8101
show more ...
|
#
a40160ae |
| 30-Nov-2021 |
Patrick Monnerat |
openldap: implement STARTTLS As this introduces use of CURLOPT_USE_SSL option for LDAP, also check this option in ldap.c as it is not supported by this backend. Closes #8065
|
#
ac89965f |
| 25-Nov-2021 |
Patrick Monnerat |
openldap: handle connect phase with a state machine Closes #8054
|
#
e7416cfd |
| 06-Jul-2021 |
Daniel Stenberg |
infof: remove newline from format strings, always append it - the data needs to be "line-based" anyway since it's also passed to the debug callback/application - it makes info
infof: remove newline from format strings, always append it - the data needs to be "line-based" anyway since it's also passed to the debug callback/application - it makes infof() work like failf() and consistency is good - there's an assert that triggers on newlines in the format string - Also removes a few instances of "..." - Removes the code that would append "..." to the end of the data *iff* it was truncated in infof() Closes #7357
show more ...
|
#
a6da2968 |
| 18-Jun-2021 |
Daniel Stenberg |
vtls: only store TIMER_APPCONNECT for non-proxy connect Introducing a 'isproxy' argument to the connect function so that it knows wether to store the time stamp or not. Reported
vtls: only store TIMER_APPCONNECT for non-proxy connect Introducing a 'isproxy' argument to the connect function so that it knows wether to store the time stamp or not. Reported-by: Yongkang Huang Fixes #7274 Closes #7274
show more ...
|
#
0c55fbab |
| 17-May-2021 |
Daniel Stenberg |
conn: add 'attach' to protocol handler, make libssh2 use it The libssh2 backend has SSH session associated with the connection but the callback context is the easy handle, so when a conn
conn: add 'attach' to protocol handler, make libssh2 use it The libssh2 backend has SSH session associated with the connection but the callback context is the easy handle, so when a connection gets attached to a transfer, the protocol handler now allows for a custom function to get used to set things up correctly. Reported-by: Michael O'Farrell Fixes #6898 Closes #7078
show more ...
|
#
8bdde6b1 |
| 04-May-2021 |
Daniel Stenberg |
openldap: replace ldap_ prefix on private functions Since openldap itself uses that prefix and with OpenĹDAP 2.5.4 (at least) there's a symbol collision because of that. The pri
openldap: replace ldap_ prefix on private functions Since openldap itself uses that prefix and with OpenĹDAP 2.5.4 (at least) there's a symbol collision because of that. The private functions now use the 'oldap_' prefix where it previously used 'ldap_'. Reported-by: 3eka on github Fixes #7004 Closes #7005
show more ...
|
#
f4b85d24 |
| 24-Apr-2021 |
Jacob Hoffman-Andrews |
lib: remove strlen call from Curl_client_write At all call sites with an explicit 0 len, pass an appropriate nonzero len. Closes #6954
|
#
063d3f3b |
| 19-Apr-2021 |
Daniel Stenberg |
tidy-up: make conditional checks more consistent ... remove '== NULL' and '!= 0' Closes #6912
|
#
2cd26861 |
| 15-Apr-2021 |
Daniel Stenberg |
openldap: protect SSL-specific code with proper #ifdef Closes #6901
|
Revision tags: curl-7_76_1, curl-7_76_0 |
|
#
8cbc16b2 |
| 28-Mar-2021 |
Patrick Monnerat |
ldap: only set the callback ptr for TLS context when TLS is used Follow-up to a5eee22e594c2460f Fixes #6804 Closes #6805
|
#
95cbcec8 |
| 26-Mar-2021 |
Daniel Stenberg |
urldata: merge "struct DynamicStatic" into "struct UrlState" Both were used for the same purposes and there was no logical separation between them. Combined, this also saves 16 bytes in
urldata: merge "struct DynamicStatic" into "struct UrlState" Both were used for the same purposes and there was no logical separation between them. Combined, this also saves 16 bytes in less holes in my test build. Closes #6798
show more ...
|
#
a5eee22e |
| 24-Mar-2021 |
Daniel Stenberg |
openldap: disconnect better Instead of clearing the callback argument in disconnect, set it to the (new) transfer to make sure the correct data is passed to the callbacks. Follo
openldap: disconnect better Instead of clearing the callback argument in disconnect, set it to the (new) transfer to make sure the correct data is passed to the callbacks. Follow-up to e467ea3bd937f38 Assisted-by: Patrick Monnerat Closes #6787
show more ...
|
#
e467ea3b |
| 23-Mar-2021 |
Daniel Stenberg |
openldap: avoid NULL pointer dereferences Follow-up to a59c33ceffb8f78 Reported-by: Patrick Monnerat Fixes #6676 Closes #6780
|
#
a59c33ce |
| 15-Feb-2021 |
Daniel Stenberg |
openldap: pass 'data' to the callbacks instead of 'conn'
|
Revision tags: curl-7_75_0 |
|
#
1dc8aa87 |
| 24-Jan-2021 |
Daniel Stenberg |
hostip/proxy: remove conn->data use Closes #6513
|
#
bbe3aa9f |
| 13-Jan-2021 |
Patrick Monnerat |
vtls: reduce conn->data use Closes #6474
|