From 94c4eec62dfd14eaa6ed1724f40726949829f08f Mon Sep 17 00:00:00 2001 From: APerricone Date: Thu, 19 Jan 2023 09:07:57 +0100 Subject: [PATCH 1/2] 2023-01-19 20:15 UTC+0100 Antonino Perricone * contrib/hbcurl/hbcurl.ch + added HB_CURLINFOTYPE_* macros for debug block --- ChangeLog.txt | 4 ++++ contrib/hbcurl/hbcurl.ch | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index aa441e6f33..22d9987620 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,10 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2023-01-19 20:15 UTC+0100 Antonino Perricone + * contrib/hbcurl/hbcurl.ch + + added HB_CURLINFOTYPE_* macros for debug block + 2023-01-17 13:10 UTC-0300 Lailton Fernando Mariano (lailton/at/paysoft.com.br) * include/hbsocket.h * src/harbour.def diff --git a/contrib/hbcurl/hbcurl.ch b/contrib/hbcurl/hbcurl.ch index ec666d5e51..47623dc227 100644 --- a/contrib/hbcurl/hbcurl.ch +++ b/contrib/hbcurl/hbcurl.ch @@ -558,4 +558,15 @@ #define HB_CURLE_FTP_BAD_FILE_LIST 87 /* unable to parse FTP file list */ #define HB_CURLE_CHUNK_FAILED 88 /* chunk callback reported error */ +/* curl info . */ + +#define HB_CURLINFOTYPE_TEXT 0 /* The data is informational text. */ +#define HB_CURLINFOTYPE_HEADER_IN 1 /* The data is header (or header-like) data received from the peer. */ +#define HB_CURLINFOTYPE_HEADER_OUT 2 /* The data is header (or header-like) data sent to the peer. */ +#define HB_CURLINFOTYPE_DATA_IN 3 /* The data is protocol data received from the peer. */ +#define HB_CURLINFOTYPE_DATA_OUT 4 /* The data is protocol data sent to the peer. */ +#define HB_CURLINFOTYPE_SSL_DATA_IN 5 /* The data is SSL/TLS (binary) data received from the peer. */ +#define HB_CURLINFOTYPE_SSL_DATA_OUT 6 /* The data is SSL/TLS (binary) data sent to the peer. */ +#define HB_CURLINFOTYPE_END 7 /* */ + #endif /* HBCURL_CH_ */ From 533fbb075ae8a0289f555e1e8ce8c78b64340838 Mon Sep 17 00:00:00 2001 From: APerricone Date: Thu, 19 Jan 2023 09:12:24 +0100 Subject: [PATCH 2/2] correct time --- ChangeLog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 22d9987620..6fec2cb212 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,7 +7,7 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ -2023-01-19 20:15 UTC+0100 Antonino Perricone +2023-01-19 09:15 UTC+0100 Antonino Perricone * contrib/hbcurl/hbcurl.ch + added HB_CURLINFOTYPE_* macros for debug block