2022-11-07 09:24 UTC+0100 Aleksander Czajczynski (hb fki.pl)

* contrib/hbcurl/core.c
    ! CURLOPT_MAXLIFETIME_CONN is available in curl 7.80.0,
      fix older builds by adding a version check

  * ChangeLog.txt
    * entry for previous merge was "old" (i wouldn't touch
      it alone), but it also had paths with backslashes
      in place of slashes
This commit is contained in:
Aleksander Czajczynski
2022-11-07 09:25:04 +01:00
parent 629ad6889d
commit 9796e3a16e
2 changed files with 25 additions and 17 deletions

View File

@@ -7,6 +7,29 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2022-11-07 09:24 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/hbcurl/core.c
! CURLOPT_MAXLIFETIME_CONN is available in curl 7.80.0,
fix older builds by adding a version check
* ChangeLog.txt
* entry for previous merge was "old" (i wouldn't touch
it alone), but it also had paths with backslashes
in place of slashes
2022-11-04 20:15 UTC+0100 Antonino Perricone
* contrib/hbcurl/hbcurl.ch
* contrib/hbcurl/core.c
+ added HB_CURLOPT_MAXLIFETIME_CONN to setup max lifetime of connection
see https://curl.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html for more
information.
+ added HB_CURLOPT_DEBUGBLOCK to setup a block for debug information
It takes a callback in the form of {|type, msg| ... }
see https://curl.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html for more
information.
* contrib/hbcurl/hbcurl.ch
+ added HB_CURLINFOTYPE_* macros for debug block
2022-10-23 11:30 UTC-0300 Lailton Fernando Mariano (lailton/at/harbour.page)
* config/global.mk
+ add auto detect cpu arm64
@@ -73,22 +96,6 @@
RETURN
With above peace of code you can mix HBQT or other QT wrapper with GTQTC.
2022-05-03 08:45 UTC+0200 Antonino Perricone
* contrib\hbcurl\hbcurl.ch
* contrib\hbcurl\core.c
+ added HB_CURLOPT_MAXLIFETIME_CONN to setup max lifetime of connection
see https://curl.se/libcurl/c/CURLOPT_MAXLIFETIME_CONN.html for more
information.
2022-05-02 08:38 UTC+0200 Antonino Perricone
* contrib\hbcurl\core.c
+ added HB_CURLOPT_DEBUGBLOCK to setup a block for debug information
It takes a callback in the form of {|type, msg| ... }
see https://curl.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html for more
information.
* contrib\hbcurl\hbcurl.ch
+ added HB_CURLINFOTYPE_* macros for debug block
2021-04-28 20:02 UTC+0200 Aleksander Czajczynski (hb fki.pl)
* include/hbgtinfo.ch
! fixed comment, Alt+Numpad HB_GTI_KBDALT workaround was disabled by

View File

@@ -1809,10 +1809,11 @@ HB_FUNC( CURL_EASY_SETOPT )
}
break;
#if LIBCURL_VERSION_NUM >= 0x075000
case HB_CURLOPT_MAXLIFETIME_CONN:
res = curl_easy_setopt( hb_curl->curl, CURLOPT_MAXLIFETIME_CONN, hb_parnl( 3 ) );
break;
#endif
}
}