Skip to content

Commit

Permalink
Import serf-1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkHelmet433 committed Aug 2, 2013
1 parent 742fdef commit 089059a
Show file tree
Hide file tree
Showing 47 changed files with 1,801 additions and 13,345 deletions.
20 changes: 18 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
Serf 1.2.1 [2013-06-03, from /tags/1.2.1]
Serf 1.3.0 [2013-07-23, from /tags/1.3.0]
Fix issue 83: use PATH rather than URI within an ssltunnel (r1952)
Fix issue 108: improved error reporting from the underlying socket (r1951)
NEW: Switch to the SCons build system; retire serfmake, serf.mak, autotools
Improved Basic and Digest authentication:
- remember credentials on a per-server basis
- properly manage authentication realms
- continue functioning when a server sets KeepAlive: off
Windows: add support for NTLM authentication
Improved 2617 compliance: always use strongest authentication (r1968,1971)
Fixed bugs with proxy authentication and SSL tunneling through a proxy
Fixed bugs the response parser (r2032,r2036)
SSL connection performance improvements
Huge expansion of the test suite


Serf 1.2.1 [2013-06-03, from /tags/1.2.1, r1906]
Fix issue 95: add gssapi switches to configure (r1864, r1900)
Fix issue 97: skip mmap bucket if APR_HAS_MMAP is undefined (r1877)
Fix issue 100: building against an old Windows Platform SDK (r1881)
Expand All @@ -19,7 +35,7 @@ Serf 1.2.0 [2013-02-22, from /tags/1.2.0, r1726]
Fixed issue 93: cleanup-after-fork interferes with parent (r1714)
Fixed most of issue 89: Support REAL SPNEGO authentication
Enable Negotiate/Kerberos support for proxy servers.
Return error when C-L, chunked, gzip encoded response bodies where
Return error when C-L, chunked, gzip encoded response bodies were
truncated (due to aborted connection) (r1688)
Add a logging mechanism that can be enabled at compile-time.
Don't lookup server address if a proxy was configured. (r1706)
Expand Down
171 changes: 0 additions & 171 deletions Makefile.in

This file was deleted.

70 changes: 56 additions & 14 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,67 @@ kept to a minimum to provide high performance operation.

----

Quick guide for the impatient
1. INSTALL

(Unix)
% ./configure
% make
% make install
1.1. SCons build system

----
serf uses SCons 2.x for its build system. If it is not installed on
your system, then you can install it onto your system. If you do not
have permissions, then you can download and install the "local"
version into your home directory. When installed privately, simply
create a symlink for 'scons' in your PATH to /path/to/scons/scons.py.

Fetch the scons-local package:
http://prdownloads.sourceforge.net/scons/scons-local-2.0.1.tar.gz


1.2 Building serf

To build serf:

$ scons APR=/path/to/apr APU=/path/to/apu OPENSSL=/openssl/base PREFIX=/path/to/prefix

The switches are recorded into .saved_config, so they only need to be
specified the first time scons is run.

PREFIX should specify where serf should be installed. PREFIX defaults to
/usr/local.

The default for the other three switches (APR, APU, OPENSSL) is /usr.

The build system looks for apr-1-config at $APR/bin/apr-1-config, or
the path should indicate apr-1-config itself. Similarly for the path
to apu-1-config.

OPENSSL should specify the root of the install (eg. /opt/local). The
includes will be found OPENSSL/include and libraries at OPENSSL/lib.

If you wish to use VPATH-style builds (where objects are created in a
distinct directory from the source), you can use:

$ scons -Y /path/to/serf/source

At any point, the current settings can be examined:

$ scons --help


1.3 Running the test suite

$ scons check


1.4 Installing serf

Building serf from a Subversion checkout (non-packaged releases)
$ scons install

We suggest that you try out 'serfmake'.
Note that the PREFIX variable should have been specified in a previous
invocation of scons (and saved into .saved_config), or it can be
specified on the install command line:

% ./serfmake --prefix=/usr/local/serf --with-apr=/usr/local/apr install
$ scons PREFIX=/some/path install

If you want to use the autoconf build system and are using a Subversion
checkout, you need to run buildconf and have APR and APR-util sources handy.

% ./buildconf --with-apr=/path/to/apr --with-apr-util=/path/to/apr-util
(By default, buildconf will look in . and ../ for apr and apr-util.)
1.4 Cleaning up the build

Then, you can use ./configure, make, etc.
$ scons -c
Loading

0 comments on commit 089059a

Please sign in to comment.