lokinet/libhttp
Rick V d4fdffc9c3
build fixes: using -s on Sun strips the ELF export symbol table, which leads to Bad Things if yer using the GNU linker for some godforsaken reason
2019-04-11 10:13:26 -05:00
..
include commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
.gitignore commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
COPYING commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
Makefile build fixes: using -s on Sun strips the ELF export symbol table, which leads to Bad Things if yer using the GNU linker for some godforsaken reason 2019-04-11 10:13:26 -05:00
README.md build fixes: using -s on Sun strips the ELF export symbol table, which leads to Bad Things if yer using the GNU linker for some godforsaken reason 2019-04-11 10:13:26 -05:00
base64enc.c commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
cacerts.c commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
internal.c commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
internal.h commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
libhttp.c commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
libhttp.h commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
miniz.c commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00
uri.c unix stuff 2019-04-11 10:13:26 -05:00
zpipe.c commit a partially platform-independent libhttps 2019-04-06 23:04:17 -05:00

README.md

liblokiweb (libhttp)

Building

requirements

  • mbedtls 2.13.0 or later, for both host and target (if cross-compiling)
  • wget for host (to download Netscape root certificate store from cURL website)
  • Also included is a patch that can be applied to the mbedtls source to enable features like AES-NI in protected mode, plus some networking fixes for win32, see ../contrib/lokinet-bootstrap-winnt/mbedtls-win32.patch

build:

$ make prepare; make libhttp.[so|dll]

Useful build-time variables

  • INCLUDE: path to mbedtls headers
  • LIBS: path to mbedtls libraries
  • SYS_LIBS: system-specific link libraries (-lsocket -lnsl on Sun systems, -lws2_32 [or -lwsock32 if IPv6 is disabled] on Windows)

Usage

  • include libhttp.h in your source
  • link against libhttp.[so|dll]

-rick