Civetweb Versions Save

Embedded C/C++ web server

v1.7

8 years ago

Features

Enhanced examples and documentation, additional API functions, some functions rewritten, bug fixes and updates

Changes

  • Format source with clang_format
  • Use function 'sendfile' for Linux
  • Fix for CRAMFS in Linux
  • Fix for file modification times in Windows
  • Use SO_EXCLUSIVEADDRUSE instead of SO_REUSEADDR for Windows
  • Rewrite push/pull functions
  • Allow to use Lua as shared objects (WITH_LUA_SHARED)
  • Fixes for many warnings
  • URI specific callbacks and different timeouts for websockets
  • Add chunked transfer support
  • Update LuaFileSystem
  • Update Lua to 5.2.4
  • Fix build for MinGW-x64, TDM-GCC and clang
  • Update SQLite to 3.8.10.2
  • Fix CGI variables SCRIPT_NAME and PATH_TRANSLATED
  • Set TCP_USER_TIMEOUT to deal faster with broken connections
  • Add a Lua form handling example
  • Return more differentiated HTTP error codes
  • Add log_access callback
  • Rewrite and comment request handling function
  • Specify in detail and document return values of callback functions
  • Set names for all threads (unless NO_THREAD_NAME is defined)
  • New API functions for TCP/HTTP clients
  • Fix upload of huge files
  • Allow multiple SSL instances within one application
  • Improve API and user documentation
  • Allow to choose between static and dynamic Lua library
  • Improve unit test
  • Use temporary file name for partially uploaded files
  • Additional API functions exported to C++
  • Add a websocket client example
  • Add a websocket client API
  • Update websocket example
  • Make content length available in request_info
  • New API functions: access context, callback for create/delete, access user data
  • Upgraded Lua from 5.2.2 to 5.2.3 and finally 5.2.4
  • Integrate LuaXML (for testing purposes)
  • Fix compiler warnings
  • Updated version number

v1.6

9 years ago

Features

Enhance Lua support, configuration dialog for windows, new examples, bug fixes and updates

Changes

  • Add examples of Lua pages, scripts and websockets to the test directory
  • Add dialog to change htpasswd files for the Windows standalone server
  • Fix compiler warnings and warnings from static code analysis
  • Add new unit tests
  • Support includes in htpasswd files
  • Add a basic option check for the standalone executable
  • Support user defined error pages
  • Method to get POST request parameters via C++ interface
  • Re-Add unit tests for Linux and Windows
  • Allow to specify title and tray icon for the Windows standalone server
  • Fix minor memory leaks
  • Redirect all memory allocation/deallocation through mg functions which may be overwritten
  • Support Cross-Origin Resource Sharing (CORS) for static files and scripts
  • Win32: Replace dll.def file by export macros in civetweb.h
  • Base64 encode and decode functions for Lua
  • Support pre-loaded files for the Lua environment
  • Server should check the nonce for http digest access authentication
  • Hide read-only flag in file dialogs opened by the Edit Settings dialog for the Windows executable
  • Add all functions to dll.def, that are in the header
  • Added Lua extensions: send_file, get_var, get_mime_type, get_cookie, url_decode, url_encode
  • mg_set_request_handler() mod to use pattern
  • Solved, tested and documented SSL support for Windows
  • Fixed: select for Linux needs the nfds parameter set correctly
  • Add methods for returning the ports civetweb is listening on
  • Fixes for Lua Server Pages, as described within the google groups thread
  • Added support for plain Lua Scripts, and an example script
  • A completely new, and more illustrative websocket example for C
  • Websocket for Lua
  • An optional websocket_root directory, including URL rewriting
  • Update of SQLite3 to 3.8.1.
  • Add "date" header field to replies, according to the requirements of RFC 2616 (the HTTP standard), Section 14.18
  • Fix websocket long pull
  • Updated API documentation
  • Fixed Posix locking functions for Windows
  • Updated version number