+ Allow to edit the add-header action through the CGI editor by
+ generalizing the code that got added with the suppress-tag action.
+ Closes SF patch request #146. Patch by Maxim Antonov.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Add a CGI handler for /wpad.dat that returns a
+ Proxy Auto-Configuration (PAC) file.
+ Among other things, it can be used to instruct clients
+ through DHCP to use Privoxy as proxy.
+ For example with the dnsmasq option:
+ dhcp-option=252,http://config.privoxy.org/wpad.dat
+ Initial patch by Richard Schneidt.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Don't log the applied actions in process_encrypted_request()
+ Log them in continue_https_chat() instead to mirror chat().
+ Prevents the applied actions from getting logged twice
+ for the first request on an https-inspected connection.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ OpenSSL generate_host_certificate(): Use config.privoxy.org as Common Name
+ Org and Org Unit if the real host name is too long to get accepted by OpenSSL.
+ Clients should only care about the Subject Alternative Name
+ anyway and we can continue to use the real host name for it.
+ Reported by Miles Wen on privoxy-users@.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Establish the TLS connection with the client earlier and decide
+ how to route the request afterwards. This allows to change the
+ forwarding settings based on information from the https-inspected
+ request, for example the path.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ listen_loop(): When shutting down gracefully, close listening ports
+ before waiting for the threads to exit. Allows to start a second
+ Privoxy with the same config file while the first Privoxy is still
+ running.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ serve(): Close the client socket as well if the server socket
+ for an inspected connection has been closed. Privoxy currently
+ can't establish a new server connection when the client socket
+ is reused and would drop the connection in continue_https_chat()
+ anyway.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Don't disable redirect checkers in redirect_url().
+ Disable them in handle_established_connection() instead.
+ Doing it in redirect_url() prevented the +redirect{} and
+ +fast-redirects{} actions from being logged with LOG_LEVEL_ACTIONS.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ handle_established_connection(): Slightly improve a comment.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ handle_established_connection(): Fix a comment.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ socks5_connect(): Fix indentation.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ handle_established_connection(): Improve an error message.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ create_pattern_spec(): Fix ifdef indentation.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Fix comment typos.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ process_encrypted_request(): Improve a log message.
+ The function only processes request headers and there
+ may still be unread request body data left to process.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ chat(): Log the applied actions before deciding how to forward the request.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ parse_time_header(): Silence a coverity complaint when building without assertions.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ receive_encrypted_request_headers(): Improve a log message.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ mbedTLS get_ciphersuites_from_string(): Use strlcpy() instead of strncpy().
+ Previously the terminating NUL wasn't copied which resulted
+ in a compiler warning. This didn't cause actual problems as
+ the target buffer was initialized by zalloc_or_die() so the
+ last byte of the target buffer was NUL already.
+ Actually copying the terminating NUL seems clearer, though.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Remove compiler warnings. "log_error(LOG_LEVEL_FATAL, ..."
+ doesn't return but apparently the compiler doesn't know that.
+ Get rid of several "this statement may fall through
+ [-Wimplicit-fallthrough=]" warnings.