📄 changelog-0.13.1
字号:
2000-11-14 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Report when connections to servers are opened and when a proxy is being used (via debug). * test/test_http.c: More informative output with -h.2000-11-14 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: phone numbers starting with '+' or '00' are coded as international numbers, others are left with the default (Unknown). 2000-11-13 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c, gw/wapbox.c, gwlib/http.[ch], test/test_http.c: Changed the HTTP proxy configuration interface so that the access to the proxy can be authenticated. The actual implementation is still lacking, but the interface changed to http_use_proxy() is done.2000-11-13 Lars Wirzenius <liw@iki.fi> * Makefile.in: Use $(DESTDIR) in the install targets.2000-11-13 Richard Braakman <dark@wapit.com> * configure.in, config.h, gwlib/gwassert.h: Use NO_GWASSERT instead of NDEBUG. Have gwassert.h define NO_GWASSERT if NDEBUG is defined. * gw/smsc_cimd2.c, gwlib/conn.c, gwlib/gwlib.h, gwlib/octstr.c: Use NO_GWASSERT instead of NDEBUG.2000-11-10 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Implemented persistent connections on the client end.2000-11-10 Richard Braakman <dark@wapit.com> * gwlib/gwlib.c: Call gwlib_protected_shutdown() last, because the protected functions are used by other shutdown functions. Thanks to Paul Keogh for pointing this out. * gwlib/gwmem.h, gwlib/gwmem-check.c, gwlib/gwlib.c: Added gwmem_shutdown() function, to be called after gw_check_leaks(). This makes it possible to check for leaks without shutting down. * doc/userguide/userguide.xml: Document the configure options added below.2000-11-10 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Implemented persistent connections on the server end.2000-11-10 Richard Braakman <dark@wapit.com> * configure.in: Added --with-defaults to make it possible to configure for speed or for debugging, with one option. Added --disable-assertions to set NDEBUG. Made --with-malloc and --disable-assertions use the default set by --with-defaults. Changed some whitespace to make ./configure --help align nicely. * config.h.in: Added NDEBUG option * gwlib/gwthread-pthread.c: Include "gwlib/gwlib.h", not <gwlib/gwlib.h>. The latter made "make depend" skip the inclusion. This fixes the problem of needing to run "make clean" after switching malloc wrappers. * gwlib/thread.[ch]: Remove mutex_try_lock(). It's not longer used, and it had portability issues. * gwlib/conn.c: If conn_set_output_buffering is called, react to the new buffer size immediately. * gwlib/conn.[ch]: Remove conn_wait_multi(). It's not used and will not be needed by the new HTTP design. * gwlib/conn.c: Fix conn_flush to conform to its description and to manage its lock right. * gwlib/conn.c: Make unbuffered connections the default.2000-11-10 Kalle Marjola <rpr@wapit.com> * gw/smscconn.h|c: Added. New SMSC connection interface with stub of upcoming connection module (and wrapper for old system)2000-11-10 Lars Wirzenius <liw@iki.fi> * gwlib/http.[ch]: Killed http_get and http_post, since they're now obsolete and unused. http_get_real remains until numhash.c and smsbox_req.c are converted.2000-11-10 Lars Wirzenius <liw@iki.fi> * gw/wap-appl.c: Reformatted.2000-11-10 Lars Wirzenius <liw@iki.fi> * gw/wap-appl.c: Changed thread structure so that there is a static number of thread regardless of how many requests are made. This should make things a bit faster when the load is heavy. * gwlib/http.[ch]: Wrote function http_client_signal_shutdown, to allow the wapbox to shutdown.2000-11-10 Lars Wirzenius <liw@iki.fi> * gw/wap-appl.c: Rearranged code in preparation for changing the thread structure so that a new thread is not started for each request.2000-11-10 Lars Wirzenius <liw@iki.fi> * gwlib/http.[ch]: Updated documentation, moved HTTP_PORT to .c, since no-one else needs to know it.2000-11-09 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: encode 7 bit messages in the default GSM alphabet (thanks to Mike Gaertner).2000-11-08 Richard Braakman <dark@wapit.com> * gw/wap-appl.c: Deal with client_SDU_size being 0, which means there is no limit. Thanks to Ruud Schramp for pointing this out. Also made connectionless mode set it to 0 instead of an arbitrary value.2000-11-08 Lars Wirzenius <liw@iki.fi> * Makefile.in, configure.in: Made "make install" work in a more sensible way, at least as far as the Filesystem Hierarchy Standard (pretty much all Linux systems, and mostly BSD systems as well) is concerned. /usr/bin and /usr/sbin are now used properly, and manual pages are installed as well. Also, the User Guide is installed in a more sensible way. * debian/rules: Updated accordingly. 2000-11-08 Lars Wirzenius <liw@iki.fi> * checks/check_sendsms.sh: Remove log files if check was successful.2000-11-08 Kalle Marjola <rpr@wapit.com> * gw/bb_boxc.c: fixed error that caused bearerbox to possibly segfault when connection from illegal IP was tried * gw/smsbox_req.c: make sure that UDH length is set properly 2000-11-07 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Bugfix. Destroy the new_server_sockets list.2000-11-07 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Massive rearranging and some renaming, but no real changes. The code is now much cleaner and easier to understand.2000-11-07 Tuomas Luttinen <tuo@wapit.com> * gwlib/octstr.c: Added some protection against endless loops in strip-functions for special cases. * gw/wml_compiler.c: Memory leak with malformed variable fixed. Also fixed the bug that reserved words cannot be variable names, eg $(password).2000-11-07 Lars Wirzenius <liw@iki.fi> * gwlib/http.[ch]: Removed old server API.2000-11-07 Lars Wirzenius <liw@iki.fi> * test/drive_wapbox.c: Converted to use new HTTP server API.2000-11-07 Richard Braakman <dark@wapit.com> * gwlib/http.c: Fix memory leak in client_read_body. Make server_thread not warn if gwthread_poll fails with EINTR. * gwlib/conn.[ch]: Added conn_read_error(), and a read_error field to the Connection structure. Added conn_read_everything(). * gwlib/http.c: In client_read_body, use conn_read_everything instead of conn_inbuf_length and conn_read_fixed. This way it will detect end-of-file. * gw/wapbox.c: Make send_heartbeat_thread() not send more heartbeats than twice the usual frequency. (We can live with sleep() not being exact, but when the wapbox is run inside a debugger it tends to go wild.)2000-11-07 Lars Wirzenius <liw@iki.fi> * checks/check_sendsms.sh: Sleep for five seconds before starting smsbox; this prevents the smsbox from crashing before the bearerbox is ready to accept its connection. * gw/smsbox.c: Adapted to new HTTP server API. * gwlib/http.c: Bugfix. If we fail to re-use a connection, and re-open it, we must then quit the handler for the old connection.2000-11-07 Lars Wirzenius <liw@iki.fi> * checks/check_sendsms.sh: Wrote.2000-11-07 Lars Wirzenius <liw@iki.fi> * checks/check_fakesmsc.sh: Wrote.2000-11-06 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: Variables with syntax errors are now discarded with warning instead giving up with the hole WML source. Some memory leak still exists. Also an unknown tag produces a warning in the log.2000-11-06 Lars Wirzenius <liw@iki.fi> * gw/smsc_at.c: Applied fix from Paul Keogh to hex number conversion.2000-11-06 Lars Wirzenius <liw@iki.fi> * utils/kannel-redhat.init.d: New file from Fabrice Gatille.2000-11-06 Lars Wirzenius <liw@iki.fi> * configure{,.in}, config.h.in: Add support for PAM enable and disable. * gw/smsbox_req.c: Fixed the PAM stuff so that it will compile with the new gwmem.h protectors against malloc and friends.2000-11-06 Lars Wirzenius <liw@iki.fi> * README, doc/userguide/userguide.xml: Moved information on how to use configure from README to User Guide.2000-11-06 Lars Wirzenius <liw@iki.fi> * Bearerbox converted to use with ne HTTP server API, with help from Kalle Marjola. * gw/bb_http.c: Only use one thread to handle HTTP requests. Added function httpadmin_stop to help with shutdown synchronization issues. * gw/bearerbox.[ch]: In signal handler, call bb_shutdown, instead of set_shutdown_status. This point may need to be implemented better later. Call httpadmin_stop in main. * gwlib/http.c: Have http_close_all_server kill the server threads as well, including killing the FDSet poller thread.2000-11-06 Kalle Marjola <rpr@wapit.com> * gw/smsc_emi.c (emi_open_ip): check if allow_ip set. Thanks for Juho-Pekka Virolainen for noticing this.2000-11-06 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: fixed Premicell bug. Added sleep(1) for nokiaphone.2000-11-05 Richard Braakman <dark@wapit.com> * gwlib/http.c: Make the interface of client_read_body() match the rest of the design. This makes the http module work with HTTP/1.1 servers again.2000-11-03 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: A conformance patch: card and template elements cannot have 2 or more do elements of the same name, PI are ignored, unknown tags and CDATA are now processed. Also some code was cleaned into the new coding standard.2000-11-03 Richard Braakman <dark@wapit.com> * gw/wsp_headers.c: If an Expires header has an invalid date, then encode it as a date far in the past. We can't just skip the header because RFC2068 says such a response should be treated as already expired, and we have to tell the client to do that. * gw/wsp_headers.c: Make sure that a Multi-octet-integer is always at least one octet long, even if its value is 0. 2000-11-03 Kalle Marjola <rpr@wapit.com> * gw/smsbox.c: changed 'sent..' log event to clearly state that it only means that the message was sent to bearerbox, not further2000-11-03 Lars Wirzenius <liw@iki.fi> * checks/check_list.c: Fixed synchronization problems that occasionally caused it to randomly fail. The list code itself was OK, but the checking code did not synchronize thread startups correctly.2000-11-03 Lars Wirzenius <liw@iki.fi> * test/test_http.c: Change the error message when there are no command line arguments from "Floating point exception (core dumped)" to the standard help text.2000-11-03 Lars Wirzenius <liw@iki.fi> * test/test_http_server.c: Converted to use the new HTTP server interface. This displayed bugs in shutdown situations for the new HTTP code. * gwlib/http.c: Fixed bugs in shutting down.2000-11-03 Lars Wirzenius <liw@iki.fi> * test/test_http_server.c: Reformatted to coding style.2000-11-03 Lars Wirzenius <liw@iki.fi> * gwlib/http.[ch]: First cut at changing the HTTP server side interface to be more sensible about the number of threads. Doesn't work quite well yet (i.e., if I change test/test_http_server.c, make check fails), but I want it committed for now. Shouldn't harm anyone, as long as they don't use it.2000-11-02 Paul Keogh <paul.keogh@anam.com> * gw/cookies.c: Fix for some cookie management bugs.2000-11-01 Richard Braakman <dark@wapit.com> * gwlib/gwthread-pthread.c: Fix memory leak if poll() was interrupted.2000-11-01 Richard Braakman <dark@wapit.com> * gw/smsc_emi.c: Cleaned up a bit, made thread-safe. * gw/smsc_p.h, gw/smsc.c: Declare and initialize new EMI fields.2000-11-01 Richard Braakman <dark@wapit.com> * gwlib/octstr.c: Make octstr_read_file use a smaller buffer, to reduce stack usage.2000-11-01 Lars Wirzenius <liw@iki.fi> * gw/wap-appl.c: Implement magic URL kannel:alive, based on patch from Neil Hunter.2000-11-01 Lars Wirzenius <liw@iki.fi> * gwlib/gwlib.h, gwlib/list.c: Move around include for gwmem.h so it comes after thread.h, because thread.h includes pthread.h, and Cygwin's pthread.h includes malloc.h, which gets annoyed by the macros gwmem.h defines.2000-11-01 Kalle Marjola <rpr@wapit.com> * gwlib/conffile.c (config_sanity_check): fixed that 'otaconfig' is accepted, too, thanks to Philip Psiloinis for pointing this out * gw/bb_smsc.c: make sure that lists are emptied2000-11-01 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: handles message lengths of 8*n+1 properly. Added comments to encode7bituncompressed().2000-10-31 Richard Braakman <dark@wapit.com> * gwlib/fdset.c: Handle EINTR.2000-10-31 Richard Braakman <dark@wapit.com> * Moved wap_addr functions from wapbox.c to new file wap_addr.c, and created wap_addr.h for it.2000-10-31 Richard Braakman <dark@wapit.com> * gwlib/conn.[ch]: Make it possible to change the callback info efficiently, by calling conn_register again with the same fdset. * gwlib/fdset.c: Fiddled with poller loop to deal with callback functions doing strange things to the poll array while it's being scanned.2000-10-31 Lars Wirzenius <liw@iki.fi>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -