source: mod_gnutls/test/tests/23_TLS_reverse_proxy_mismatched_priorities/output @ 5d9f34e

debian/masterdebian/stretch-backportsjessie-backportsupstream
Last change on this file since 5d9f34e was f030883, checked in by Thomas Klute <thomas2.klute@…>, 5 years ago

Set GnuTLS priorities for proxy connections separately

Until now, proxy connections were configured with the same priorities as
the server side. This commit introduces the new configuration option
"GnuTLSProxyPriorities" to set the priorities for proxy connections
separately. Note that GnuTLSProxyPriorities MUST be set when
SSLProxyEngine is enabled.

Since the parameters to GnuTLSPriorities and GnuTLSProxyPriorities need
the same processing, mgs_set_priorities has been rewritten to select the
priority cache to write to based on the option name, rather than adding
a new function to handle GnuTLSProxyPriorities.

  • Property mode set to 100644
File size: 560 bytes
Line 
1HTTP/1.1 502 Proxy Error
2Content-Length: 407
3Connection: close
4Content-Type: text/html; charset=iso-8859-1
5
6<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
7<html><head>
8<title>502 Proxy Error</title>
9</head><body>
10<h1>Proxy Error</h1>
11<p>The proxy server received an invalid
12response from an upstream server.<br />
13The proxy server could not handle the request <em><a href="/proxy/test.txt">GET&nbsp;/proxy/test.txt</a></em>.<p>
14Reason: <strong>Error reading from remote server</strong></p></p>
15</body></html>
16- Peer has closed the GnuTLS connection
Note: See TracBrowser for help on using the repository browser.