Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

JuliaWeb/HttpParser.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is deprecated. Please use HTTP.jl

HttpParser.jl

This package provides a Julia wrapper around Joyent's http-parser library (v2.7.1).

Build Status Coverage Status

HttpParser HttpParser HttpParser

Installation: julia> Pkg.add("HttpParser")

libhttp-parser shared library will be built automatically on Linux and OSX, and downloaded as a binary on Windows.

Building the Windows binaries

The current http-parser binary for Windows is cross-compiled using mingw-w64. mingw-w64 can be installed on Ubuntu using sudo apt-get install mingw-w64. To build for yourself:

  • git clone https://github.com/joyent/http-parser
  • cd http-parser
  • git checkout v2.7.1
  • There are currently warnings that are treated as errors. Edit the Makefile to remove -Werror
  • To build 64-bit DLL: CC=x86_64-w64-mingw32-gcc make library && mv libhttp_parser.so libhttp_parser64.dll
  • To build 32-bit DLL: CC=i686-w64-mingw32-gcc make library && mv libhttp_parser.so libhttp_parser32.dll
:::::::::::::
::         ::
:: Made at ::
::         ::
:::::::::::::
     ::
Hacker School
:::::::::::::