privoxy.git
4 years agoprivoxy-log-parser: Highlight 'Dropping the client connection on socket 71. The serve...
Fabian Keil [Tue, 22 Sep 2020 07:57:24 +0000 (09:57 +0200)]
privoxy-log-parser: Highlight 'Dropping the client connection on socket 71. The server connection has not been established yet.'

4 years agoprivoxy-log-parser: Completely highlight 'Reusing server socket 35 connected to nl...
Fabian Keil [Fri, 11 Sep 2020 18:51:14 +0000 (20:51 +0200)]
privoxy-log-parser: Completely highlight 'Reusing server socket 35 connected to nl.wikipedia.org. Requests already sent: 5.'

4 years agoInclude wincrypt.h when compiling with OpenSSL on Windows
Fabian Keil [Mon, 21 Sep 2020 13:42:04 +0000 (15:42 +0200)]
Include wincrypt.h when compiling with OpenSSL on Windows

... but undefine X509_NAME and X509_EXTENSIONS.

Fixes:

    x86_64-w64-mingw32-gcc -c -pipe -O2 -Wshadow -DWINVER=0x501   -mwindows
    -Wall -Ipcre  openssl.c -o openssl.o
    In file included from
    P:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:95,
                     from project.h:62,
                     from openssl.c:42:
    P:/msys64/mingw64/include/openssl/ssl.h:1611:5: error: expected
    specifier-qualifier-list before '(' token
     1611 |     X509_EXTENSIONS *tlsext_ocsp_exts;
          |     ^~~~~~~~~~~~~~~

when using OpenSSL 1.0.2.

Reported and partially submitted by: Hớ Hờ Hợ

4 years agoRebuild docs
Fabian Keil [Sun, 13 Sep 2020 12:13:41 +0000 (14:13 +0200)]
Rebuild docs

4 years agoAdd a missing apostroph in the 'More Privoxy' menu
Fabian Keil [Sun, 13 Sep 2020 12:11:09 +0000 (14:11 +0200)]
Add a missing apostroph in the 'More Privoxy' menu

4 years agoAdd a missing apostroph in the 'More Privoxy' menu
Fabian Keil [Sun, 13 Sep 2020 12:11:02 +0000 (14:11 +0200)]
Add a missing apostroph in the 'More Privoxy' menu

4 years agoRegister dependencies of the ssl_common object file so it is rebuilt when needed
Fabian Keil [Fri, 11 Sep 2020 17:56:20 +0000 (19:56 +0200)]
Register dependencies of the ssl_common object file so it is rebuilt when needed

4 years agoRegister dependencies of the openssl object file so it is rebuilt when needed
Fabian Keil [Fri, 11 Sep 2020 17:53:25 +0000 (19:53 +0200)]
Register dependencies of the openssl object file so it is rebuilt when needed

4 years agoAdd ssl_common.h to the dependencies of the ssl object file
Fabian Keil [Fri, 11 Sep 2020 17:52:28 +0000 (19:52 +0200)]
Add ssl_common.h to the dependencies of the ssl object file

4 years agolisten_loop(): Fix format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 14:48:27 +0000 (16:48 +0200)]
listen_loop(): Fix format specifiers in two log messages

4 years agoFactor string_or_none() out of connection_destination_matches()
Fabian Keil [Fri, 11 Sep 2020 10:49:24 +0000 (12:49 +0200)]
Factor string_or_none() out of connection_destination_matches()

4 years agoBump copyright
Fabian Keil [Thu, 10 Sep 2020 12:16:50 +0000 (14:16 +0200)]
Bump copyright

4 years agoremember_connection(): Remember the socks user name and password
Fabian Keil [Thu, 10 Sep 2020 10:48:48 +0000 (12:48 +0200)]
remember_connection(): Remember the socks user name and password

4 years agoCheck the socks user name and password when comparing forwarding settings
Fabian Keil [Thu, 10 Sep 2020 10:42:15 +0000 (12:42 +0200)]
Check the socks user name and password when comparing forwarding settings

4 years agoAdd connection_detail_matches() as helper function for connection_destination_matches()
Fabian Keil [Fri, 11 Sep 2020 10:30:10 +0000 (12:30 +0200)]
Add connection_detail_matches() as helper function for connection_destination_matches()

Unlike the code it replaces it properly detects a mismatch
if only one detail is set.

4 years agossl_store_cert(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 12:51:39 +0000 (14:51 +0200)]
ssl_store_cert(): Fix format specifiers in a log message

4 years agossl_send_certificate_error(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 12:49:35 +0000 (14:49 +0200)]
ssl_send_certificate_error(): Fix format specifier in a log message

4 years agoenable_client_specific_tag(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 12:48:12 +0000 (14:48 +0200)]
enable_client_specific_tag(): Fix format specifier in a log message

4 years agoget_next_tag_timeout_for_client(): Fix format specifiers in log messages
Fabian Keil [Fri, 11 Sep 2020 12:47:28 +0000 (14:47 +0200)]
get_next_tag_timeout_for_client(): Fix format specifiers in log messages

4 years agoget_tag_list_for_client(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 12:45:42 +0000 (14:45 +0200)]
get_tag_list_for_client(): Fix format specifier in a log message

4 years agoparse_header_time(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 12:41:31 +0000 (14:41 +0200)]
parse_header_time(): Fix format specifiers in a log message

4 years agoclient_if_modified_since(): Remove an unused argument from a log_error() call
Fabian Keil [Fri, 11 Sep 2020 12:40:35 +0000 (14:40 +0200)]
client_if_modified_since(): Remove an unused argument from a log_error() call

4 years agoclient_if_modified_since(): Fix format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 12:39:05 +0000 (14:39 +0200)]
client_if_modified_since(): Fix format specifiers in two log messages

4 years agoserver_last_modified(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 12:37:24 +0000 (14:37 +0200)]
server_last_modified(): Fix format specifiers in a log message

4 years agofilter_header(): Fix format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 12:34:39 +0000 (14:34 +0200)]
filter_header(): Fix format specifiers in two log messages

4 years agoheader_tagger(): Fix logging in case of two error conditions
Fabian Keil [Fri, 11 Sep 2020 12:30:58 +0000 (14:30 +0200)]
header_tagger(): Fix logging in case of two error conditions

Previously a character was passed to log_error() when a pointer
was expected. Apparently the conditions don't occur in the wild
so nobody noticed.

4 years agodecompress_iob(): Make a debug message that isn't supposed to be shown less verbose
Fabian Keil [Fri, 11 Sep 2020 12:26:03 +0000 (14:26 +0200)]
decompress_iob(): Make a debug message that isn't supposed to be shown less verbose

Previously a bunch of details where included with incorrect
format specifiers. In practice the message isn't shown so
it should probably be replaced with an assertion.

4 years agodecompress_iob(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 12:21:15 +0000 (14:21 +0200)]
decompress_iob(): Fix format specifiers in a log message

4 years agodecompress_iob(): Remove a stray space
Fabian Keil [Fri, 11 Sep 2020 12:20:28 +0000 (14:20 +0200)]
decompress_iob(): Remove a stray space

4 years agodecompress_iob(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 12:08:16 +0000 (14:08 +0200)]
decompress_iob(): Fix format specifier in a log message

4 years agodecompress_iob_with_brotli(): Fix format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 12:06:26 +0000 (14:06 +0200)]
decompress_iob_with_brotli(): Fix format specifiers in two log messages

4 years agoadd_to_iob(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 12:04:30 +0000 (14:04 +0200)]
add_to_iob(): Fix format specifiers in a log message

4 years agoload_one_re_filterfile(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 12:02:49 +0000 (14:02 +0200)]
load_one_re_filterfile(): Fix format specifier in a log message

4 years agoload_config(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 12:01:03 +0000 (14:01 +0200)]
load_config(): Fix format specifier in a log message

4 years agoprepare_csp_for_next_request(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 11:59:08 +0000 (13:59 +0200)]
prepare_csp_for_next_request(): Fix format specifiers in a log message

4 years agohandle_established_connection(): Fix format specifiers in log messages
Fabian Keil [Fri, 11 Sep 2020 11:57:02 +0000 (13:57 +0200)]
handle_established_connection(): Fix format specifiers in log messages

4 years agosend_https_request(): Fix format specifiers in log messages
Fabian Keil [Fri, 11 Sep 2020 11:53:25 +0000 (13:53 +0200)]
send_https_request(): Fix format specifiers in log messages

4 years agoreceive_chunked_client_request_body(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 11:51:28 +0000 (13:51 +0200)]
receive_chunked_client_request_body(): Fix format specifier in a log message

4 years agosend_crunch_response(): Fix format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 11:47:36 +0000 (13:47 +0200)]
send_crunch_response(): Fix format specifiers in two log messages

4 years agoaccept_connection(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 11:44:02 +0000 (13:44 +0200)]
accept_connection(): Fix format specifier in a log message

4 years agosocks5_connect(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 11:42:15 +0000 (13:42 +0200)]
socks5_connect(): Fix format specifier in a log message

4 years agoget_reusable_connection(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 11:41:04 +0000 (13:41 +0200)]
get_reusable_connection(): Fix format specifier in a log message

4 years agoclose_unusable_connections(): Fix format specifier in a log message
Fabian Keil [Fri, 11 Sep 2020 11:40:49 +0000 (13:40 +0200)]
close_unusable_connections(): Fix format specifier in a log message

4 years agoremove_chunked_transfer_coding(): Use appropriate format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 11:36:52 +0000 (13:36 +0200)]
remove_chunked_transfer_coding(): Use appropriate format specifiers in two log messages

4 years agogif_deanimate_response(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 11:34:22 +0000 (13:34 +0200)]
gif_deanimate_response(): Fix format specifiers in a log message

4 years agoexecute_external_filter(): Fix format specifiers in two log messages
Fabian Keil [Fri, 11 Sep 2020 11:32:36 +0000 (13:32 +0200)]
execute_external_filter(): Fix format specifiers in two log messages

4 years agopcrs_filter_response(): Fix format specifiers in a log message
Fabian Keil [Fri, 11 Sep 2020 11:30:49 +0000 (13:30 +0200)]
pcrs_filter_response(): Fix format specifiers in a log message

4 years agocompress_buffer(): Fix format specifiers in log messages
Fabian Keil [Fri, 11 Sep 2020 11:25:35 +0000 (13:25 +0200)]
compress_buffer(): Fix format specifiers in log messages

4 years agochat(): Remove pointless NULL-pointer check
Fabian Keil [Fri, 11 Sep 2020 10:02:10 +0000 (12:02 +0200)]
chat(): Remove pointless NULL-pointer check

4 years agodecompress_iob(): Don't leak the memory allocated by inflateInit2()
Fabian Keil [Thu, 10 Sep 2020 16:22:13 +0000 (18:22 +0200)]
decompress_iob(): Don't leak the memory allocated by inflateInit2()

... when the buffer limit is reached or we're running out of memory.

4 years agocontinue_https_chat(): Drop the connection if the forwarder has changed
Fabian Keil [Thu, 10 Sep 2020 09:57:40 +0000 (11:57 +0200)]
continue_https_chat(): Drop the connection if the forwarder has changed

4 years agocontinue_https_chat(): Increment csp->server_connection.requests_sent_total
Fabian Keil [Thu, 10 Sep 2020 13:09:11 +0000 (15:09 +0200)]
continue_https_chat(): Increment csp->server_connection.requests_sent_total

... after sending a request over a reused connection.

4 years agoRename 'Pages modified' header to 'Response bodies modified'
Fabian Keil [Tue, 8 Sep 2020 13:09:17 +0000 (15:09 +0200)]
Rename 'Pages modified' header to 'Response bodies modified'

... which is more precise as a page may consist of multiple responses.

4 years agoRename 'pages_modified' variable to 'response_bodies_modified'
Fabian Keil [Tue, 8 Sep 2020 13:07:24 +0000 (15:07 +0200)]
Rename 'pages_modified' variable to 'response_bodies_modified'

... which is more precise as a page may consist of multiple responses.

4 years agoBump copyright
Fabian Keil [Mon, 17 Aug 2020 09:12:58 +0000 (11:12 +0200)]
Bump copyright

4 years agoRemove reference to the snprintf() fallback implementation which is gone
Fabian Keil [Thu, 13 Aug 2020 12:56:46 +0000 (14:56 +0200)]
Remove reference to the snprintf() fallback implementation which is gone

4 years agoRemove the fallback snprintf() implementation
Fabian Keil [Thu, 13 Aug 2020 12:55:41 +0000 (14:55 +0200)]
Remove the fallback snprintf() implementation

Now that OS/2 support is gone we no longer need it.

4 years agoRegenerate docs after removing OS/2-specific stuff
Fabian Keil [Thu, 13 Aug 2020 12:46:35 +0000 (14:46 +0200)]
Regenerate docs after removing OS/2-specific stuff

4 years agoRemove OS/2 from the PACKAGERS list
Fabian Keil [Thu, 13 Aug 2020 12:44:08 +0000 (14:44 +0200)]
Remove OS/2 from the PACKAGERS list

4 years agoRemove OS/2 specific stuff from the developer manual
Fabian Keil [Thu, 13 Aug 2020 12:42:13 +0000 (14:42 +0200)]
Remove OS/2 specific stuff from the developer manual

4 years agoRemove OS/2 specific stuff from the user manual
Fabian Keil [Thu, 13 Aug 2020 12:42:02 +0000 (14:42 +0200)]
Remove OS/2 specific stuff from the user manual

4 years agoRemove OS/2 from the list of supported platforms
Fabian Keil [Thu, 13 Aug 2020 12:41:42 +0000 (14:41 +0200)]
Remove OS/2 from the list of supported platforms

4 years agoRemove OS/2 support
Fabian Keil [Thu, 13 Aug 2020 12:34:05 +0000 (14:34 +0200)]
Remove OS/2 support

We haven't provided OS/2 packages in years, it complicates the code
and it depends on the fallback snprintf implementation which is GPLv2
only.

No objections from privoxy-devel@.

4 years agoAdd www.betrugstest.com to the sponsor list again
Fabian Keil [Thu, 13 Aug 2020 12:12:09 +0000 (14:12 +0200)]
Add www.betrugstest.com to the sponsor list again

This reverts commit fb3f363ac720ab78b3c77f3e53554b4b9161b643
which wasn't pushed to the website.

4 years agoShorten FEATURE_ZLIB description
Fabian Keil [Mon, 10 Aug 2020 17:08:26 +0000 (19:08 +0200)]
Shorten FEATURE_ZLIB description

It probably has been tested on most platforms by now.

4 years agoMerge Debian changes from unpublished 3.0.28-4 (as of 2020-09-04)
Roland Rosenfeld [Fri, 4 Sep 2020 15:47:12 +0000 (17:47 +0200)]
Merge Debian changes from unpublished 3.0.28-4 (as of 2020-09-04)

4 years agoUpdate to GIT c62254 and update all patches.
Roland Rosenfeld [Thu, 11 Jun 2020 16:52:03 +0000 (18:52 +0200)]
Update to GIT c62254 and update all patches.

4 years agocgi_show_status: Don't leak memory when no action files are specified
Fabian Keil [Sun, 30 Aug 2020 07:25:47 +0000 (09:25 +0200)]
cgi_show_status: Don't leak memory when no action files are specified

Sponsored by: Robert Klemme

4 years agocgi_show_status: Don't leak memory when no filter files are specified
Fabian Keil [Sun, 30 Aug 2020 07:24:48 +0000 (09:24 +0200)]
cgi_show_status: Don't leak memory when no filter files are specified

Sponsored by: Robert Klemme

4 years agochat(): Don't log process_encrypted_request() failures
Fabian Keil [Fri, 28 Aug 2020 13:05:08 +0000 (15:05 +0200)]
chat(): Don't log process_encrypted_request() failures

.. as parse errors.

process_encrypted_request() already logs errors with
a more precise explanation.

Sponsored by: Robert Klemme

4 years agoprivoxy-log-parser.pl: Accept and highlight 'Data arrived in time on client socket...
Fabian Keil [Fri, 28 Aug 2020 08:34:40 +0000 (10:34 +0200)]
privoxy-log-parser.pl: Accept and highlight 'Data arrived in time on client socket ...'

Sponsored by: Robert Klemme

4 years agoFix style in dispatch_known_cgi()
Fabian Keil [Fri, 28 Aug 2020 08:34:00 +0000 (10:34 +0200)]
Fix style in dispatch_known_cgi()

Sponsored by: Robert Klemme

4 years agoRebuild docs
Fabian Keil [Tue, 1 Sep 2020 09:40:57 +0000 (11:40 +0200)]
Rebuild docs

4 years agoAdd Maxim Antonov to the list of contributors
Fabian Keil [Fri, 28 Aug 2020 07:57:00 +0000 (09:57 +0200)]
Add Maxim Antonov to the list of contributors

Sponsored by: Robert Klemme

4 years agoFix style in host_matches()
Fabian Keil [Fri, 28 Aug 2020 07:53:42 +0000 (09:53 +0200)]
Fix style in host_matches()

Sponsored by: Robert Klemme

4 years agoDon't set the ssl_debug_callback() which does nothing
Fabian Keil [Fri, 28 Aug 2020 07:33:15 +0000 (09:33 +0200)]
Don't set the ssl_debug_callback() which does nothing

Sponsored by: Robert Klemme

4 years agoRemove references to #54 (Git migration) which no longer exists
Fabian Keil [Thu, 27 Aug 2020 23:21:22 +0000 (01:21 +0200)]
Remove references to #54 (Git migration) which no longer exists

4 years agolisten_loop(): Use a dedicated variable for the pthread_create() return code
Fabian Keil [Thu, 27 Aug 2020 22:32:40 +0000 (00:32 +0200)]
listen_loop(): Use a dedicated variable for the pthread_create() return code

... instead of clobbering errno.

Sponsored by: Robert Klemme

4 years agoRemove #18 'Add keep-alive support with +https-inspection' which is done
Fabian Keil [Thu, 27 Aug 2020 19:15:32 +0000 (21:15 +0200)]
Remove #18 'Add keep-alive support with +https-inspection' which is done

4 years agoDitch a couple of spaces in pointer declarations
Fabian Keil [Wed, 26 Aug 2020 23:09:35 +0000 (01:09 +0200)]
Ditch a couple of spaces in pointer declarations

Sponsored by: Robert Klemme

4 years agocreate_server_ssl_connection(): Improve the error message
Fabian Keil [Wed, 26 Aug 2020 20:17:59 +0000 (22:17 +0200)]
create_server_ssl_connection(): Improve the error message

... that is emitted when the certificate validation fails.

Sponsored by: Robert Klemme

4 years agosend_crunch_response(): Include the full URL in a log message
Fabian Keil [Wed, 26 Aug 2020 17:07:05 +0000 (19:07 +0200)]
send_crunch_response(): Include the full URL in a log message

Sponsored by: Robert Klemme

4 years agoExplicitly prevent use of FEATURE_CONNECTION_SHARING without FEATURE_CONNECTION_KEEP_...
Fabian Keil [Wed, 26 Aug 2020 14:59:36 +0000 (16:59 +0200)]
Explicitly prevent use of FEATURE_CONNECTION_SHARING without FEATURE_CONNECTION_KEEP_ALIVE

It makes no sense and does not compile anyway.

Sponsored by: Robert Klemme

4 years agoFix build without FEATURE_CONNECTION_KEEP_ALIVE
Fabian Keil [Wed, 26 Aug 2020 14:48:07 +0000 (16:48 +0200)]
Fix build without FEATURE_CONNECTION_KEEP_ALIVE

Sponsored by: Robert Klemme

4 years agoAdd keep-alive support for https-inspected connections
Fabian Keil [Tue, 25 Aug 2020 13:06:07 +0000 (15:06 +0200)]
Add keep-alive support for https-inspected connections

If a connection to the server has been established it
is reused.

If the previous request was blocked and no connection to
the server is open the connection is dropped so the client
can retry on a fresh connection.

Forwarding settings are currently ignored when handling
https-inspected requests on an already established connection.

Sponsored by: Robert Klemme

4 years agossl_send_certificate_error(): Emit CLF and CRUNCH messages
Fabian Keil [Wed, 26 Aug 2020 19:31:05 +0000 (21:31 +0200)]
ssl_send_certificate_error(): Emit CLF and CRUNCH messages

Sponsored by: Robert Klemme

4 years agoDowngrade the 'Graceful termination requested' message to LOG_LEVEL_INFO
Fabian Keil [Wed, 26 Aug 2020 09:40:39 +0000 (11:40 +0200)]
Downgrade the 'Graceful termination requested' message to LOG_LEVEL_INFO

... as it isn't an error.

Sponsored by: Robert Klemme

4 years agoFix documented return code for clear_iob()
Fabian Keil [Tue, 25 Aug 2020 21:43:23 +0000 (23:43 +0200)]
Fix documented return code for clear_iob()

Sponsored by: Robert Klemme

4 years agoRemove the unused IOB_PEEK() macro
Fabian Keil [Tue, 25 Aug 2020 17:29:28 +0000 (19:29 +0200)]
Remove the unused IOB_PEEK() macro

Sponsored by: Robert Klemme

4 years agoDeclare get_last_url() static
Fabian Keil [Tue, 25 Aug 2020 15:15:22 +0000 (17:15 +0200)]
Declare get_last_url() static

Sponsored by: Robert Klemme

4 years agoFix comment typo
Fabian Keil [Tue, 25 Aug 2020 12:53:46 +0000 (14:53 +0200)]
Fix comment typo

Sponsored by: Robert Klemme

4 years agoprivoxy-log-parser: Let handle_loglevel_re_filter() accept the no-content message
Fabian Keil [Mon, 24 Aug 2020 10:13:36 +0000 (12:13 +0200)]
privoxy-log-parser: Let handle_loglevel_re_filter() accept the no-content message

Sponsored by: Robert Klemme

4 years agodecompress_iob(): Downgrade the no-content message to LOG_LEVEL_RE_FILTER
Fabian Keil [Mon, 24 Aug 2020 10:09:15 +0000 (12:09 +0200)]
decompress_iob(): Downgrade the no-content message to LOG_LEVEL_RE_FILTER

While at it, fix a typo in a comment.

Sponsored by: Robert Klemme

4 years agoRebuild config file
Fabian Keil [Tue, 1 Sep 2020 09:41:48 +0000 (11:41 +0200)]
Rebuild config file

4 years agoChange the suggested default-server-timeout to 5
Fabian Keil [Mon, 24 Aug 2020 10:02:03 +0000 (12:02 +0200)]
Change the suggested default-server-timeout to 5

... to match the suggested keep-alive-timeout.

Otherwise using the defaults would result in Privoxy
reducing the default-server-timeout and logging an
error message.

Sponsored by: Robert Klemme

4 years agoChange ca-key-file default suggestion to cakey.pem
Fabian Keil [Sun, 23 Aug 2020 12:40:45 +0000 (14:40 +0200)]
Change ca-key-file default suggestion to cakey.pem

... to match the openssl command in the previous section.

Sponsored by: Robert Klemme

4 years agoBlock requests to .pixel.parsely.com/ as image
Fabian Keil [Sat, 22 Aug 2020 20:35:17 +0000 (22:35 +0200)]
Block requests to .pixel.parsely.com/ as image

4 years agorfc2553_connect_to(): When failing set errno later
Fabian Keil [Sun, 23 Aug 2020 16:26:19 +0000 (18:26 +0200)]
rfc2553_connect_to(): When failing set errno later

... to reduce the chances that it gets cloberred before
the caller has a chance to read it.

Previously Privoxy could send a "Connection failure" message
instead of the "DNS failure" message.

Sponsored by: Robert Klemme

4 years agossl_verify_callback(): Handle html_encode() failures
Fabian Keil [Wed, 26 Aug 2020 13:45:08 +0000 (15:45 +0200)]
ssl_verify_callback(): Handle html_encode() failures

Sponsored by: Robert Klemme

4 years agossl_store_cert(): Fix format specifier and typo in an error message
Fabian Keil [Fri, 28 Aug 2020 08:42:02 +0000 (10:42 +0200)]
ssl_store_cert(): Fix format specifier and typo in an error message

Sponsored by: Robert Klemme