ulfius

Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services

LGPL-2.1 License

Downloads
8
Stars
1.1K
Committers
24

Bot releases are hidden (Show)

ulfius - Release 2.7.15 Latest Release

Published by babelouest 11 months ago

  • Add functions ulfius_send_http_request_with_limit and ulfius_send_http_streaming_request_max_header
  • cmake: restore option WITH_YDER which was forgotten in last release refactor
  • cmake: split package build options in 3 (tar.gz, deb and rpm), and set all packages build to off by default
ulfius - Release 2.7.14

Published by babelouest about 1 year ago

This release is dedicated to my dear friend @oliv3 , may you rest in peace.

  • Set protocols to http and https only in send requests
  • Fix static analyzer warnings
  • Minor improvements
  • cmake: remove DownloadProject feature, now dependencies must be previously installed
ulfius - Release 2.7.13

Published by babelouest over 1 year ago

  • Websockets client: fix case where server sends a 0-length packet (#245)
  • Minor improvements
ulfius - Release 2.7.12

Published by babelouest almost 2 years ago

  • Improve cmake script and build for Visual Studio integration
  • Minor bugfixes
  • Build with flag -Wconversion
  • Add cmake build flag WITH_WEBSOCKET_MESSAGE_LIST to completely disable message lists storage in websockets
ulfius - Release 2.7.11

Published by babelouest about 2 years ago

  • Add ulfius_websocket_parse_json_message for incoming websocket messages
  • Breaking: in ulfius_websocket_send_json_message, return U_ERROR_PARAMS if j_message is NULL
  • Update callback examples
  • Fix minor bugs
ulfius - Release 2.7.10

Published by babelouest over 2 years ago

  • Update SameSite cookie value, add U_COOKIE_SAME_SITE_EMPTY and allow value None
  • Fix pkg-config file with absolute path for CMAKE_INSTALL_{INCLUDE,LIB}DIR
  • Fix CMAKE_MODULE_PATH who was used as single value
ulfius - Release 2.7.9

Published by babelouest over 2 years ago

  • Fix multipart/form-data for large values, thanks itzoke! (#222, #223)
  • Add option allowed_post_processor in struct _u_instance to disable post parameter processing depending on the content-type
  • Add more example_callbacks
ulfius - Release 2.7.8

Published by babelouest over 2 years ago

  • Fix Origin header setting in websocket client
  • Remove header duplicates and Content-Length
  • Redirect libmicrohttpd logs to yder
  • Replace uint with unsigned int
  • Add ulfius_export_request_http and ulfius_export_response_http
  • Use o_strnullempty instead of o_strlen to check if a char * has data
ulfius - Release 2.7.7

Published by babelouest almost 3 years ago

  • Use o_malloc everywhere instead of malloc (#206)
ulfius - Release 2.7.6

Published by babelouest almost 3 years ago

  • Fix ulfius_websocket_wait_close
  • Fix ulfius_send_http_request when url contains spaces
ulfius - Release 2.7.5

Published by babelouest almost 3 years ago

  • Fix cookie management in ulfius_send_http_request and ulfius_send_http_streaming_request
  • Add option U_OPT_AUTH_BASIC to ulfius_set_request_properties
  • Fix bug in static_compressed_inmemory_website callback example
ulfius - Release 2.7.4

Published by babelouest about 3 years ago

  • Add void parameter to functions with no param
  • Security: Fix bug when malformed HTTP requests are sent, thanks Jeremy Brown! (CVE-2021-40540)
  • Remove yder flag from libulfius.pc when yder is disabled
  • Avoid Time-of-check time-of-use filesystem race condition, assume fopen result is enough
ulfius - Release 2.7.3

Published by babelouest over 3 years ago

  • Add ULFIUS_CHECK_VERSION macro (Thanks Oliv3)
  • Add struct _websocket_manager.keep_messages flag
  • Add struct _u_response.free_shared_data and ulfius_set_response_shared_data
ulfius - Release 2.7.2

Published by babelouest over 3 years ago

  • Fix post processor on multiple values with the same key (Thanks @Oliv3)
  • Fix certificate generation on MacOS (Thanks @valera-rozuvan)
  • Add missing check includes if tests are built (Thanks @valera-rozuvan)
  • Add option U_OPT_HTTP_URL_APPEND to ulfius_set_request_properties
  • Use ulfius_set_request_properties in example programs
ulfius - Release 2.7.1

Published by babelouest almost 4 years ago

  • Fix websocket protocol and extension management bug, thanks to @oliv3
  • Remove Travis CI tests
  • Add Makefile flag UWSCFLAG to disable uwsc build
ulfius - Release 2.7.0

Published by babelouest almost 4 years ago

  • Allow Content-Enconding header with ulfius_send_http_request to compress the response body
  • Add http_compression callback example
  • Add static_compressed_inmemory_website callback example
  • Add callback return value U_CALLBACK_IGNORE to igore incrementation of request->callback_position
  • Add ulfius_add_websocket_extension_message_perform and ulfius_add_websocket_client_extension_message_perform for advanced websocket extensions management
  • Add Compression Extensions for WebSocket
  • Fix lots of websocket bugs thanks to Autobahn|Testsuite.
ulfius - Release 2.6.9

Published by babelouest about 4 years ago

  • Update doc generation
  • Add ulfius_websocket_send_json_message, thanks to Olivier Girondel
  • Update pkg-config Libs with all dependencies
  • Add ulfius_global_init and ulfius_global_close
  • Rename U_STREAM_SIZE_UNKOWN to U_STREAM_SIZE_UNKNOWN, keep U_STREAM_SIZE_UNKOWN for backward compatibility
ulfius - Release 2.6.8

Published by babelouest over 4 years ago

  • Increase ULFIUS_POSTBUFFERSIZE to follow MHD documentation
  • Adapt code to be compatible with all MHD version
  • In case of secure websocket communication, use a combination of gnutls_record_check_pending() and poll() to determine if data is ready. (Thanks Wouter van Herpen!)
  • Install uwsc manpage
  • Fix bug about missing res variable assignment. (Thanks Gianfranco Costamagna!)
ulfius - Release 2.6.7

Published by babelouest over 4 years ago

  • Check header property case insensitive in websocket client
  • Add libcurl option CURLOPT_NOPROGRESS in ulfius_send_http_streaming_request
  • Add ulfius_start_framework_with_mhd_options for expert mode
  • Fix websocket bugs: #163 (Thanks wouher!)
  • Add ulfius_set_request_properties and ulfius_set_response_properties
ulfius - Release 2.6.6

Published by babelouest over 4 years ago

  • Update doc generation
  • Fix jansson memoy management bug
Package Rankings
Top 38.26% on Formulae.brew.sh
Top 6.75% on Proxy.golang.org
Badges
Extracted from project README
CII Best Practices