~ubuntu-branches/ubuntu/trusty/haproxy/trusty

« back to all changes in this revision

Viewing changes to tests/test-http-send-name-hdr.cfg

  • Committer: Package Import Robot
  • Author(s): Vincent Bernat, Apollon Oikonomopoulos, Vincent Bernat, Prach Pongpanich
  • Date: 2013-05-06 20:02:14 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20130506200214-36s6p81fsa5zqybt
Tags: 1.4.23-1
[ Apollon Oikonomopoulos ]
* New upstream version (Closes: #643650, #678953)
   + This fixes CVE-2012-2942 (Closes: #674447)
   + This fixes CVE-2013-1912 (Closes: #704611)
* Ship vim addon as vim-haproxy (Closes: #702893)
* Check for the configuration file after sourcing /etc/default/haproxy
  (Closes: #641762)
* Use /dev/log for logging by default (Closes: #649085)

[ Vincent Bernat ]
* debian/control:
   + add Vcs-* fields
   + switch maintenance to Debian HAProxy team. (Closes: #706890)
   + drop dependency to quilt: 3.0 (quilt) format is in use.
* debian/rules:
   + don't explicitly call dh_installchangelog.
   + use dh_installdirs to install directories.
   + use dh_install to install error and configuration files.
   + switch to `linux2628` Makefile target for Linux.
* debian/postrm:
   + remove haproxy user and group on purge.
* Ship a more minimal haproxy.cfg file: no `listen` blocks but `global`
  and `defaults` block with appropriate configuration to use chroot and
  logging in the expected way.

[ Prach Pongpanich ]
* debian/copyright:
   + add missing copyright holders
   + update years of copyright
* debian/rules:
   + build with -Wl,--as-needed to get rid of unnecessary depends
* Remove useless files in debian/haproxy.{docs,examples}
* Update debian/watch file, thanks to Bart Martens

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test Rewriting Host header
 
2
global
 
3
       maxconn 100
 
4
 
 
5
defaults
 
6
        mode http
 
7
        timeout client 10000
 
8
        timeout server 10000
 
9
        timeout connect 10000
 
10
        balance roundrobin
 
11
 
 
12
listen send-name-silo-id
 
13
        bind :8001
 
14
 
 
15
        # Set the test conditions: Add a new header
 
16
        http-send-name-header X-Silo-Id
 
17
        server srv-silo1 127.0.0.1:8080
 
18
 
 
19
        # Add headers containing the correct values for test verification
 
20
        reqadd X-test-server-name-header:\ X-Silo-Id
 
21
        reqadd X-test-server-name-value:\ srv-silo1
 
22
 
 
23
listen send-name-host
 
24
        bind :8002
 
25
 
 
26
        # Set the test conditions: Replace an existing header
 
27
        http-send-name-header host
 
28
        server srv-host 127.0.0.1:8080
 
29
 
 
30
        # Add headers containing the correct values for test verification
 
31
        reqadd X-test-server-name-header:\ Host
 
32
        reqadd X-test-server-name-value:\ srv-host
 
33