Skip to content

🈂️ Support for parsing HTTP URLs

License

Notifications You must be signed in to change notification settings

mulle-c/mulle-http

Repository files navigation

mulle-http

🈚 http URL parser

The http parser from NGINX, extracted from the NODE code base. Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev

Release Version Release Notes
Mulle kybernetiK tag Build Status RELEASENOTES

You are here

Overview

Add

This project is a component of the mulle-core library. As such you usually will not add or install it individually, unless you specifically do not want to link against mulle-core.

Add as an individual component

Use mulle-sde to add mulle-http to your project:

mulle-sde add github:mulle-c/mulle-http

To only add the sources of mulle-http with dependency sources use clib:

clib install --out src/mulle-c mulle-c/mulle-http

Add -isystem src/mulle-c to your CFLAGS and compile all the sources that were downloaded with your project.

Install

Install with mulle-sde

Use mulle-sde to build and install mulle-http and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/mulle-c/mulle-http/archive/latest.tar.gz

Manual Installation

Install the requirements:

Requirements Description
mulle-c11 🔀 Cross-platform C compiler glue (and some cpp conveniences)

Download the latest tar or zip archive and unpack it.

Install mulle-http into /usr/local with cmake:

cmake -B build \
      -DCMAKE_INSTALL_PREFIX=/usr/local \
      -DCMAKE_PREFIX_PATH=/usr/local \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK