moonbridge

log

age author description
3 months ago jbe Added tag v1.1.3 for changeset 62901393deb0default tip
3 months ago jbe Updated reference regarding dual IPv6/IPv4 socketsv1.1.3
3 months ago jbe Updated LICENSE
5 months ago jbe Added missing "extern" for moonbr_io_sigterm_flag (caused linker errors on certain platforms)
5 months ago jbe Improved Makefile to allow manual selection of PLATFORM and DISTRIBUTION; Emit warning if platform or Linux distribution could not be determined
5 months ago jbe Added missing include of fcntl.h to avoid compiler warning under Linux
7 months ago jbe Make moonbridge_io.tcplisten(nil, port) accept both IPv6 and IPv4 connections independently of operating system setting; if first argument is non-nil and resolves to an IPv6 address, never accept IPv4 connections
7 months ago jbe Added tag v1.1.2 for changeset a8b1012856a5
7 months ago jbe Bugfix: Do not use freeaddrinfo() if getaddrinfo() failedv1.1.2
13 months ago jbe Fixed proper errno handling for blocking I/O in localconnect function for connecting to sockets
21 months ago jbe Use "cc -shared" instead of "ld -shared" to create *.so files
21 months ago jbe Add -L/usr/lib -lc to all invocations of ld on FreeBSD
22 months ago jbe Add -L/usr/lib to ld call for compiling on FreeBSD
2019-01-21 jbe Use offsetof macro at compile time to determine maximum length of local socket paths
2018-12-22 jbe Added tag v1.1.1 for changeset 5fe68ba5fe0e
2018-12-22 jbe Raspbian support in Makefilev1.1.1
2018-10-04 jbe Methods to manipulate socket buffer sizes
2018-07-26 jbe Added tag v1.1.0 for changeset f6154dccdab8
2018-07-26 jbe Fixed year in LICENSE filev1.1.0
2018-07-26 jbe Added tag v1.1.0 for changeset 15132b3c053d
2018-02-03 jbe Fixed some bugs with _call and _yield functions in moonbridge_io
2018-02-01 jbe Added parameter to waitfunc of asynchronous I/O functions which allows to check whether waitfunc was called for the first time
2018-02-01 jbe Modified non-blocking I/O _call functions to pass certain arguments (socket, mode, module) to wait function
2018-01-27 jbe merge
2018-01-27 jbe Bugfix/workaround: Do not call getpeername() when opening TCP connections in non-blocking mode
2017-12-04 jbe Linux compatibility: do not set sun_len
2017-11-24 jbe Bugfix: Properly set sun_len, sun_family, and addrlen when filling sockaddr_un struct (using maximum possible length)
2017-11-24 jbe Renamed HTTP "header_size_limit" and "body_size_limit" options to "request_header_size_limit" and "request_body_size_limit" (to match documentation in example code)
2017-11-24 jbe Fixed use of INET_ADDRSTRLEN constant (for IPv4)
2017-11-19 jbe Added tag v1.0.2 for changeset e4e1ad8d5ab8
2017-11-16 jbe Code cleanup in moonbr_io_read_cont function (avoid unnecessary lua_pushvalue)v1.0.2
2017-11-16 jbe Bugfix in moonbr_io_read_cont function which caused read chunks to be concatenated in wrong order
2017-11-15 jbe Avoid using WNOWAIT in moonbridge_io.poll(...) for Linux compatibility
2017-06-23 jbe Do not shutdown due to main thread termination when shutdown is already in progress
2017-06-18 jbe Fixed two errors in moonbridge_io.poll(...) regarding child termination
2017-06-18 jbe Code formatting
2017-06-18 jbe Throw error when polling a collected child process
2017-06-18 jbe Fixed wrong treatment of waitpid() return value in moonbridge_io.poll(...)
2017-06-17 jbe Bugfix regarding waiting for child processes in moonbridge_io.poll(...)
2017-06-17 jbe Extend moonbridge_io.poll(...) to support waiting for child process termination
2017-06-17 jbe Make moonbridge_io.poll(...) check for SIGTERM also when wakeup is forced due to TLS negotiation or closed local socket
2017-06-12 jbe Code-cleanup: removed redundancy in moonbr_initiate_shutdown()
2017-06-12 jbe Do not reuse child workers that have been SIGTERM'ed
2017-06-12 jbe Bugfix in moonbridge_io.c: Do not restore sigmask if not changed
2017-06-12 jbe Bugfix in moonbridge.c: Do not use killpg but only terminate each child
2017-06-11 jbe Changed error messages for moonbridge_io.poll(...)
2017-06-11 jbe Fixed documentation of moonbridge_io.poll(...)
2017-06-11 jbe Changed behavior of moonbridge_io.poll(...); Renamed moonbridge_io.sigterm_setup() to moonbridge_io.catch_sigterm(); Removed moonbridge_io.sigterm_received()
2017-06-11 jbe Use new sigterm handling in moonbridge_http
2017-06-11 jbe Minor fixes in reference.txt
2017-06-11 jbe Removed moonbridge_io.signals table
2017-06-11 jbe New implementation of SIGTERM handling
2017-06-09 jbe Removed colon from stderr output
2017-06-09 jbe Shortened stderr output in logfile
2017-06-08 jbe Make :kill(signal) accept also strings and default to signal 9 (KILL); Improved error handling of :kill(signal)
2017-06-06 jbe Modified behavior of moonbridge_io.signalsocket(...); Fixed usage of moonbridge_io.signalsocket(...) in moonbridge_http module
2017-06-06 jbe Close idle HTTP connections on SIGTERM
2017-06-06 jbe Make moonbridge_io.signalsocket(...) return a new socket each time it is called
2017-06-06 jbe Ignore SIGTERM once after sending it to own process group
2017-06-06 jbe Undo last commit (Avoid duplicate shutdown)
2017-06-06 jbe Avoid duplicate shutdown
2017-06-06 jbe Allow "main threads" to be named; main threads also use MOONBR_PROTO_INTERVAL as listener type now
2017-06-05 jbe Fixed documentation of moonbridge_io.timeref(...): poll function does not return nil on event
2017-06-05 jbe SIGINFO not available on Linux
2017-06-04 jbe Make moonbridge_io.signalsocket(...) accept strings as argument
2017-06-04 jbe Added signal constants table moonbridge_io.signals
2017-06-04 jbe Use SIGTERM to terminate child processes gracefully
2017-06-04 jbe Fixed documentation of socket:drain_call(...)
2017-06-04 jbe Minor change in documentation of signalsocket(...)
2017-06-04 jbe Added moonbridge_io.signalsocket(...) and moonbridge_io.getpid() functions; poll returns true on signal interruption (instead of nil)
2017-06-04 jbe Backup and restore errno in signal handler
2017-06-04 jbe Added missing "do" statement in while(0) macro workaround
2017-05-28 jbe Do not throw error on TCP RST when waiting for HTTP request
2017-04-25 jbe Updated Lua version in Makefile to 5.3
2016-09-20 jbe Work on non-blocking close (for TLS)
2016-09-19 jbe Use (blocking) tls_close() on :finish() and :close()
2016-09-19 jbe Bugfix: do not attempt flushing/closing if file descriptor has already been closed
2016-09-18 jbe Code reformatting (of #ifdef MOONBR_IO_USE_TLS)
2016-09-18 jbe Simplified error handling with new macro(s)
2016-09-18 jbe Bugfix: Do not throw (hard) Lua error in moonbr_io_handle_set_nonblocking, moonbr_io_handle_set_linger, and moonbr_io_handle_set_nopush (may cause Lua error on connection reset)
2016-09-17 jbe Bugfix: Switch SO_LINGER off also when data is to be flushed on close
2016-09-17 jbe Added TODO for configurable TLS legacy support
2016-09-17 jbe Fixed indentation
2016-09-03 jbe Fixes for TLS extension of moonbridge_io (userdata instead of lightuserdata for TLS configuration required)
2016-09-03 jbe Call tls_close always before closing file descriptor
2016-08-26 jbe Perform TLS handshake in :read and :write methods and store TLS_WANT_POLLIN, TLS_WANT_POLLOUT in handle structure
2016-08-26 jbe More work on libtls integration (incomplete/experimental yet)
2016-08-25 jbe Added missing #ifdef MOONBR_IO_USE_TLS clause
2016-08-24 jbe Modifications to poll(...) function in regard to TLS handshake
2016-08-22 jbe Method :starttls(...) for I/O handle
2016-08-22 jbe Require "mode" parameter passed to tlsconf function
2016-08-21 jbe Process "verify_client" field in moonbridge_io.tlsconf{...}
2016-08-21 jbe Re-added experimental work on libtls integration
2016-08-21 jbe Removed experimental work on libtls integration
2016-08-21 jbe Fixed copy/paste error in tlsconf function
2016-08-21 jbe Work on tlsconf function
2016-08-20 jbe merge
2016-08-20 jbe Use luaL_setmetatable instead of luaL_getmetatable and lua_setmetatable
2016-08-20 jbe Work on optional libtls integration for moonbridge_io (tls_config stub)
2016-07-26 jbe Fixed bug in regard to empty POST bodies
2016-01-16 jbe Added missing documentation for moonbridge_io.timeref(...) function
2016-01-16 jbe Consistent usage of curly brackets for documentation of listen{...} function in reference.txt
2016-01-16 jbe Proper documentation of error handling of moonbridge_io.exec(...) function
2016-01-16 jbe Corrected argument to closefrom() C-call
2015-08-17 jbe Added missing termination in structure passed to getopt_long() call
2015-07-12 jbe Added tag v1.0.1 for changeset 829e748cf668
2015-07-12 jbe Set version string to "1.0.1"v1.0.1
2015-07-12 jbe Fixed bug in write buffer, which caused data to be lost when I/O is blocked
2015-07-12 jbe Fixed trivial error in example_application.lua
2015-07-12 jbe Bugfix in error handling regarding broken client connection
2015-06-23 jbe Added tag v1.0.0 for changeset 828e2bca2e16
2015-06-23 jbe Fixes in reference documentationv1.0.0
2015-06-23 jbe Remove SIGUSR1 mechanism to terminate children gracefully (incomplete yet)
2015-06-23 jbe Updated timeout options in example_application.lua
2015-06-23 jbe Code cleanup in helloworld.lua
2015-06-23 jbe Minor fixes/improvements for reference
2015-06-23 jbe Clarified nil/false return values of poll function and wait_nb method
2015-06-23 jbe Send a TCP RST instead of TCP FIN when a socket gets garbage collected (and hasn't been closed)
2015-06-23 jbe Changed version number to 1.0.0
2015-06-22 jbe Added $(UTIL_FLAGS) to moonbridge_io.so in Makefile

Impressum / About Us