Pion Network Library (Boost licensed open source)
C++ CMake M4 SourcePawn Perl XSLT Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
build #74 Nov 25, 2015
cmake #74 Nov 25, 2015
doc Bumped version to 5.0.6 Mar 24, 2014
include substituted tabs to spaces Feb 3, 2016
pion.xcodeproj PION-1327: fixed pion::test::read_lines_from_file breaking on log lin… Sep 9, 2014
services #92 Nov 18, 2015
src Propagate EOF from reader into handler as error code. Jul 28, 2016
tests test fix Jan 14, 2016
utils All boost::shared_ptr typedefs are now passed to functions by const ref. Jul 13, 2015
.gitignore PION-1320: Debug configurations not working for MSVC May 29, 2014
.travis.yml updated travis.yml Nov 18, 2015
AUTHORS Updates to make new repo with with autotools Jul 22, 2012
CMakeLists.txt Merge branch 'fix_boost_include' of git://github.com/camio/pion into … Oct 30, 2015
CONTRIBUTING.md Adding CONTRIBUTING.md file and algorithm::UTF8_REPLACEMENT_CHAR Nov 18, 2015
COPYING Updates to make new repo with with autotools Jul 22, 2012
ChangeLog Bumped pion version to 5.0.7 Oct 17, 2014
Makefile.am PION-1306: updates for pion source bundle and automated builds Mar 1, 2013
NEWS Tab -> Spaces global conversion Jul 25, 2012
PionNetServices.vcxproj STREAM-1221: VC12 auto upgrade changes only Sep 26, 2014
README.md Updated readme Jan 15, 2016
TODO Tab -> Spaces global conversion Jul 25, 2012
autogen.sh Updates to make new repo with with autotools Jul 22, 2012
configure.ac Bumped pion version to 5.0.7 Oct 17, 2014
index.html PION-1225: various fixes following merge of SPDY branch changes Sep 26, 2012
pion.pc.in Tab -> Spaces global conversion Jul 25, 2012
pion.sln PION-1328: Convert pion.sln to VS 2013. Oct 13, 2014


Pion Network Library

C++ framework for building lightweight HTTP interfaces

Build Status

Project Home: https://github.com/splunk/pion

Retrieving the code

git clone https://github.com/splunk/pion.git
cd pion

Building the code

For XCode: use pion.xcodeproj

For Visual Studio: use pion.sln

On Unix platforms (including Linux, OSX, etc.) you can run


to generate Makefiles using GNU autotools, followed by


to build everything except the unit tests.

You can build and run all the unit tests with

make check

Generate build using CMake

CMake is cross-platform build generator. Pion required cmake version 2.8.10+

To generate build call

cmake <path to pion clone> [-G <generator name>] [-D<option>...]

for example to generate MSVS2012 Win64 solution run

git clone git@github.com:splunk/pion.git
cd pion/build
cmake .. -G"Visual Studio 11 Win64"

this will create pion_solution.sln for MSVS2012/Win64

if cmake can't find dependency, use -D to control Find modules search behaviour

-DBOOST_ROOT=<path to installed boost libraries>
-DZLIB_ROOT=<path to installed zlib>

Third Party Libraries

Pion requires the Boost C++ libraries version 1.35 or greater. Please see the README.boost file within the doc subdirectory for instructions on how to download, build and install Boost.

For logging, Pion may be configured to:

  • use std::cout and std::cerr for logging (the default configuration)

  • use one of the following open source libraries:

  • disable logging entirely (run configure --disable-logging)

Detailed build instructions are available for all of the platforms supported by Pion within the doc subdirectory (README.platform).


Copyright © 2007-2016 Splunk Inc.

The Pion Network Library is published under the Boost Software License. See COPYING for licensing information.