📄 changelog
字号:
2001-10-08 [ Ela ] <ela@lkcc.org> * codec/codec.c (svz_codec_list): New function. Lists all currently registered encoder and decoder.2001-10-07 [ Ela ] <ela@lkcc.org> * codec/gzlib.c: First codec implementation. * codec/codec.c: Basic implementation of a codec interface. This is yet experimental and meant to be a draft. * coserver/coserver.c (svz_coserver_closeall): Do not close stdin/stdout pipe descriptors.2001-09-29 [ Ela ] <ela@lkcc.org> * dynload.c: Added Darwin (MacOS) specific code for its dynamic linker interface.2001-09-27 [ Ela ] <ela@lkcc.org> * interface.c (svz_interface_search): New library function. Return the full network interface information for a given interface name. * portcfg.c (svz_portcfg_convert_addr): Convert either dotted decimal form or network interface description into ip address.2001-09-19 [ Ela ] <ela@lkcc.org> * icmp-socket.c, udp-socket.c (svz_icmp_read_socket, svz_udp_read_socket): Checking access lists for a listening UDP and ICMP ports. * server-core.c (svz_sock_check_access): Paranoidized validity of the given arguments.2001-09-13 [ Ela ] <ela@lkcc.org> * passthrough.c: Added extern declaration of the variable `environ' on Unices.2001-09-12 [ Ela ] <ela@lkcc.org> * util.h (SVZ_NUM2PTR, SVZ_PTR2NUM): Converter macros between integer and address values; platform independent. Used to hide some ugly casts.2001-09-11 [ Ela ] <ela@lkcc.org> * server-core.c: Declare strsignal() here if it can be resolved but is nowhere declared. * alloc.h: Use `size_t' instead of `unsigned int' for allocator functions. * util.c: Put an extern declaration of hstrerror() here if it can be resolved but is nowhere declared. * interface.c (svz_interface_add): Deleting trailing white spaces from interface descriptions.2001-09-08 [ Ela ] <ela@lkcc.org> * coserver/coserver.h: Added missing `__END_DECLS'.2001-09-07 [ Ela ] <ela@lkcc.org> * util.c (svz_syserror): Do not let the system allocate error message buffer; provide it instead. * pipe-socket.c (svz_pipe_startup): New function. Tries to load the CancelIo() symbol from `Kernel32.dll' under Windows. This is necessary since it is available in Windows NT 4.x and above only. Called from svz_boot(). (svz_pipe_disconnect): Call CancelIo() if there is any pending operation in progress.2001-09-04 [ Ela ] <ela@lkcc.org> * pipe-socket.c (svz_pipe_read_socket): Set a limit for the maximum number of transfer bytes on Win32. (svz_pipe_write_socket): Apply the overlapped I/O code for writing, too. (svz_pipe_set_files): Allow "\\ComputerName\pipe\NameOfPipe" syntax in named pipe files on Win32. * libserveez.dsp: Added "Debug Memory Leaks" target. * alloc.c (heap_caller): Verified StackWalk() interface. * pipe-socket.c (svz_pipe_read_socket): Tried to fix the overlapped I/O scheme. * socket.h (SOCK_FLAG_READING): Two new socket flags indicating pending read and write operations. * pipe-socket.c (svz_pipe_create): Do not try to make pipe descriptors non-blocking under Win32.2001-08-17 [ Ela ] <ela@lkcc.org> * Makefile.am (libserveez_la_LDFLAGS): Added release information onto the core library. * server.c (svz_server_configure): Checking the validity of the configuratiom item addresses. These must reside inside the default configuration address range.2001-08-13 [ Ela ] <ela@lkcc.org> * socket.c (svz_sock_check_request_size): New function. Checks for fixed size packets if the boundary itself is NULL, but the boundary size is valid.2001-08-12 [ Ela ] <ela@lkcc.org> * server-core.c (svz_sock_table_create, svz_sock_table_destroy): New functions called from svz_boot() and svz_halt(). (svz_sock_unique_id): Enlarges the socket lookup table if necessary. Removed SOCK_MAX_ID limit.2001-08-03 [ Ela ] <ela@lkcc.org> * passthrough.c (svz_process_shuffle): New function. * util.c (svz_getcwd): New function. Wrapper for getcwd() allocating successively memory to get the current directory.2001-08-01 [ Ela ] <ela@lkcc.org> * util.h: Replaced definition of "byte" by "svz_uint8_t". Previous definition collided with Win32 headers. Changed all callers.2001-07-31 [ Ela ] <ela@lkcc.org> * coserver/coserver.c (svz_coserver_check): Do not restart coservers to fast. Timeout of 3 seconds should be enough.2001-07-29 [ Ela ] <ela@lkcc.org> * passthrough.c: Added a new subset of functions called svz_envblock_*() which can be used to setup environment blocks system independent. * coserver/coserver.c (svz_coserver_check): Coservers get automagically restarted if the number of instances decreases or buffer overrun is in sight.2001-07-11 [ Ela ] <ela@lkcc.org> * core.c (svz_sendfile): Added quite a lot comments for weird TransmitFile() on Win32.2001-07-10 [ Ela ] <ela@lkcc.org> * core.c (svz_sendfile): Using overlapped I/O when calling TransmitFile().2001-07-09 Stefan Jahn <s.jahn@bit-side.de> * core.c (svz_sendfile): Fixed return value on Win32 systems.2001-07-07 [ Ela ] <ela@lkcc.org> * passthrough.c: Renamed process.* into passthrough.* because collisions with Windoze's headers.2001-07-05 [ Ela ] <ela@lkcc.org> * dynload.c (svz_dynload_path_get): Added documentation about the environment variable `SERVEEZ_LOAD_PATH'. * Eliminated some unused variables. * core.c (svz_sendfile): Partly figured out how sendfile() works on OSF4.0g (True64).2001-07-03 Stefan Jahn <s.jahn@bit-side.de> * server-core.c (svz_sock_setparent): Set the parent only if both parent and child are valid.2001-06-21 [ Ela ] <ela@lkcc.org> * coserver/coserver.c (svz_coserver_start): Fixed memory leak and segmentation fault due to the failure of that function (Too many open files). * portcfg.c (svz_portcfg_create): This is a real function now. * pipe-socket.c (svz_pipe_listener): Create fifo files with the permissions and user/group as requested by the port configuration. (svz_pipe_alloc, svz_pipe_destroy): New functions. * pipe-socket.c (svz_pipe_connect): Using the given permissions in order to connect to named pipes.2001-06-19 [ Ela ] <ela@lkcc.org> * pipe-socket.c (svz_pipe_check_group): Consistency check for the given group name of a pipe. * dynload.c (svz_dynload_path_get): Do not use duplicate path information.2001-06-13 [ Ela ] <ela@lkcc.org> * array.c: Modified all functions that they can handle NULL arguments. * array.h: Removed all inline functions and macros. The macros would have never been working...2001-06-12 Raimund 'Raimi' Jacob <raimi@lkcc.org> * util.c (svz_log): svz_logfile is checked for feof() or ferror() before any output is done. You can now kill a process we pipe log messages to without serveez going 'netscape' (using 100% cpu while being inresponsive/unusable). * server-core.c (svz_signal_handler): In case you didn't know: signal handlers have to be reentrant, at least on my machine. We received SIGCHLD while a SIGCHLD was running. Now, that wouldn't have been a problem when strsignal(3) whouldn't have caused a deadlock in the libc (read that again). We added a mechanism to strsignal() all signals before the server loop starts so that we can have a reentrant svz_strsignal() function. on a related note: linux defines 64 signals in <bits/signum.h>. kill(1) however allows 0 to 64 to be command line arguments... which makes 65 total signals :-).2001-06-10 [ Ela ] <ela@lkcc.org> * array.h (svz_array_foreach): Fixed a bug in the iteration macro. * array.c (svz_array_dup, svz_array_strdup): New functions.2001-06-08 [ Ela ] <ela@lkcc.org> * icmp-socket.c (svz_icmp_check_packet): Using configured ICMP type field of the related port configuration.2001-06-07 [ Ela ] <ela@lkcc.org> * portcfg.c (svz_portcfg_destroy): Buf fix: Do not check port configuration hash if not yet existing. * dynload.c (dyn_load_library): Try to load a shared library containing a server definition. Use the environment variable SERVEEZ_LOAD_PATH with additional search paths.2001-06-01 [ Ela ] <ela@lkcc.org> * interface.h (svz_interface_foreach): New macro. (struct svz_interface): Renamed this structure. * interface.c (svz_interface_get): New function. * server-core.c (svz_sock_setreferrer, svz_sock_setreferrer): Two new functions replacing the `referrer' pointer in the socket structure. Used by pipe server to identify child and parent. * server.h (struct svz_servertype): Renamed `varname' to `prefix' and `name' into `description' which describes the usage a bit better. * socket.h (struct svz_socket): New field: `port' specifies the port configuration of a listener socket. This change was necessary because non-connection oriented protocols were using the `sock->cfg' field for both server configuration and port configuration. * server.h: Renamed all `ITEM_' macros into `SVZ_ITEM_'. Changed all callers.2001-05-21 [ Ela ] <ela@lkcc.org> * pipe-socket.h, core.h, util.h, snprintf.h, alloc.h: Replaced all occurences of size_t, mode_t, gid_t, uid_t, off_t etc. by its normal C types.2001-05-20 [ Ela ] <ela@lkcc.org> * server.c (svz_server_configure): Added code for configuring a boolean value. * boot.c: Moved runtime checkable flags from `util.c' here and prefixed them with `svz_'. * server.h (SVZ_REGISTER_BOOL): New macro for registering a boolean value within a server type configuration.2001-05-19 [ Ela ] <ela@lkcc.org> * Renamed a very lot functions in order to get the core library into a defined namespace. Therefore also changed all the callers. * raw-socket.c: Prefixed the functions. Changed callers. * icmp-socket.c: Prefixed symbols. * udp-socket.c: Prefixed all symbols. Changed callers. * pipe-socket.c: Prefixed functions with `svz_'. Changed
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -