~ubuntu-branches/debian/stretch/haproxy/stretch

« back to all changes in this revision

Viewing changes to README

  • Committer: Package Import Robot
  • Author(s): Apollon Oikonomopoulos
  • Date: 2014-07-14 00:42:32 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20140714004232-ubjc0l8wv0x55e9i
Tags: 1.5.2-1
* New upstream stable release. Important fixes:
  + A few sample fetch functions when combined in certain ways would return
    malformed results, possibly crashing the HAProxy process.
  + Hash-based load balancing and http-send-name-header would fail for
    requests which contain a body which starts to be forwarded before the
    data is used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
                         ----------------------
2
2
                             HAProxy how-to
3
3
                         ----------------------
4
 
                             version 1.5.1
 
4
                             version 1.5.2
5
5
                             willy tarreau
6
 
                               2014/06/24
 
6
                               2014/07/12
7
7
 
8
8
 
9
9
1) How to build it
53
53
  - i686 for intel PentiumPro, Pentium 2 and above, AMD Athlon
54
54
  - i586 for intel Pentium, AMD K6, VIA C3.
55
55
  - ultrasparc : Sun UltraSparc I/II/III/IV processor
56
 
  - native : use the build machine's specific processor optimizations
57
 
  - generic : any other processor or no specific optimization. (default)
 
56
  - native : use the build machine's specific processor optimizations. Use with
 
57
    extreme care, and never in virtualized environments (known to break).
 
58
  - generic : any other processor or no CPU-specific optimization. (default)
58
59
 
59
60
Alternatively, you may just set the CPU_CFLAGS value to the optimal GCC options
60
61
for your platform.
132
133
 
133
134
And on a classic Linux with SSL and ZLIB support (eg: Red Hat 5.x) :
134
135
 
135
 
    $ make TARGET=linux26 CPU=native USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
 
136
    $ make TARGET=linux26 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
136
137
 
137
138
And on a recent Linux >= 2.6.28 with SSL and ZLIB support :
138
139
 
139
 
    $ make TARGET=linux2628 CPU=native USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
 
140
    $ make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
140
141
 
141
142
In order to build a 32-bit binary on an x86_64 Linux system with SSL support
142
143
without support for compression but when OpenSSL requires ZLIB anyway :