📄 changelog-0.13.1
字号:
* gwlib/http.c: Now uses FDSet, instead of explicit waits, and now again does concurrent transactions as a side effect, but only does one transaction per HTTP connection. The code is in need of cleaning up quite a bit, but should work, except for not destroying the FDSet at shutdown.2000-10-31 Richard Braakman <dark@wapit.com> * gwlib/conn.c: Implement conn_unregister() too.2000-10-31 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Converted HTTP transaction handling into a state machine, so that FDSets can be easily be used with HTTP.2000-10-30 Lars Wirzenius <liw@iki.fi> * gwlib/gwstr.[ch]: Removed unused functions strndup and str_reverse_case_seek. The rest of this module will go away once smsbox is re-written to use Octstr.2000-10-30 Richard Braakman <dark@wapit.com> * gw/wap-appl.c: Support for X-WAP.TOD header, needed for WAP 1.1 conformance. (requirement UACache-0010) * gw/wsp_headers.c: Special encoding for X-WAP.TOD, which is an application-specific header with a field encoding that does not match the application-specific-value rule. (This is a contradiction in the spec). * gwlib/http.[ch]: Make http_header_remove_all report how many headers it removed.2000-10-30 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_resp_state-decl.h: Added timeout to state RESULT_WAIT: Now we wait for result only for AEC_MAX timer periods. * gw/wtp.c, gw/wtp_resp.c, gw/wtp_resp_state-decl.h: Added class transaction handling. Not much tested, yet.2000-10-27 Lars Wirzenius <liw@iki.fi> * README.*: Moved information into README. There's no point in having lots of small files.2000-10-27 Lars Wirzenius <liw@iki.fi> * gw/bb_http.c: Add Content-Type header to bearerbox admin interface replies.2000-10-27 Kalle Marjola <rpr@wapit.com> * gw/smsbox_req.c: fixed bug created by applying a few day old fix...2000-10-26 Richard Braakman <dark@wapit.com> * test/test_headers: Fix memory leaks introduced by http_header_combine test.2000-10-26 Richard Braakman <dark@wapit.com> * gwlib/fdset.[ch]: New module for polling large sets of file descriptors efficiently. Not used yet, intended for HTTP module. * gwlib/gwlib.h: include fdset.h * gwlib/conn.[ch]: Added conn_register and conn_unregister, to use Connections with FDSets. * gwlib/list.[ch]: Wrap list_create just like octstr_create, so that the memory leak listing shows who called list_create. 2000-10-26 Lars Wirzenius <liw@iki.fi> * gwlib/dict.c: Initialize hash table elements to be Lists, instead of garbage. * test/test_dict.c: Wrote. * gwlib/http.c: Cleanups: Wait for read_response_thread to terminate at http_shutdown and destroy the started_requests_queue. Also re-implemented the HTTPSocket pool with dict, so that it no longer does linear searches; the code is a bit simpler now as well. * test/test_http.c: Use http_destroy_headers instead of list_destroy. This also fixes a memory leak of one header.2000-10-26 Lars Wirzenius <liw@iki.fi> * gwlib/octstr.c: Give unsigned int as the type to expect to va_arg when converting %u and %hu and similar cases.2000-10-26 Richard Braakman <dark@wapit.com> * gw/wap-appl.c: Use http_header_combine instead of http_append_headers to combine session and request headers, to get the semantics right according to WAE section 8. * gwlib/http.c: Implemented http_header_combine. * test/test_headers.c: Added a test of http_header_combine.2000-10-26 Lars Wirzenius <liw@iki.fi> * gwlib/dict.[ch]: Wrote. * gwlib/gwlib.h: Include dict.h.2000-10-26 Kalle Marjola <rpr@wapit.com> * gwlib/conffile.c (config_sanity_check): make sure that there are smsc group(s) and sms-service group(s) if there is smsbox set.2000-10-26 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Converted to use conn.c. This is a minimal change, and does not yet do multiple transactions in parallel.2000-10-26 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c: Get client IP using http_socket_ip, instead of http_socket_fd. http_socket_fd will be reserved for getting the file descriptor for the HTTP server port only, and may ultimately go away completely. * gw/smsbox_req.c: Bugfix. We gave the allow list as the deny list when checking for sendsms client authorization.2000-10-26 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: added (m) 'mandatory' and (c) 'conditionally mandatory) markings to all configuration file variables. 2000-10-26 Kalle Marjola <rpr@wapit.com> * gw/smsbox_req.c: fixed that messages with no translation are handled correctly2000-10-25 Lars Wirzenius <liw@iki.fi> * gw/wml_definitions.h: Commented out OPAQUE, since Cygwin (via some Windows header) defines it, and it isn't being used, anyway. This is an intermin solution, a better one would be to add something like a WML_ or WBXML_ prefix to all those tokens. * gw/wtp_resp_state-decl.h: Renamed WAIT_TIMEOUT to WAIT_TIMEOUT_STATE to get rid of name conflicts with Cygwin headers. * gwlib/socket.c, test/fakewap.c: Removed an include for netinet/tcp.h, which seems to a) not be needed under Linux and b) be unknown to Richard Stevens, so presumably it is non-portable. If it proves to be necessary, we'll add it to configure and include it conditionally. * Thanks to Stipe Tolj for pointing these out.2000-10-25 Lars Wirzenius <liw@iki.fi> * configure{,.in}: Check for pthread_exit instead of pthread_create, when looking for a Posix thread implementation. HP-UX has trouble finding pthread_create, because it is an inline function.2000-10-25 Richard Braakman <dark@wapit.com> * wmlscript/wsstree.[ch], wmlscript/wslexer.c: Fix parsing of integer literal -2147483648. This was done by storing numbers as unsigned longs and introducing an explicit sign field.2000-10-24 Richard Braakman <dark@wapit.com> * gwlib/octstr.c: Add support for formats u, o, x, and X. (test_cimd2 needs X.) * test/test_cimd2.c: Fix errors in octstr_format calls.2000-10-24 Richard Braakman <dark@wapit.com> * wmlscript/wsstdlib.c: Corrected "Phonebook" to "PhoneBook".2000-10-24 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: filled SMPP smsc group fields, thanks for Mikael Gueck for patch.2000-10-24 Lars Wirzenius <liw@iki.fi> * Finished first phase of reducing the number of threads doing HTTP requests. This phase implements a new interface (http_start_request and http_receive_response, with the http_get and http_post functions being wrappers around these). The goal is to have a static number of threads, internal to the HTTP implementation, doing all HTTP requests at once, instead of having a new thread for each HTTP request. This phase makes that happen, but is implemented so that HTTP requests are done serially, not in parallel. The next phase is to re-write the I/O parts of the HTTP implementation so that HTTP requests are done in parallel once again, using the conn.c module. * gwlib/http.[ch]: Many internal changes. * test/test_http.c: Use the new interface, instead of the http_get wrapper.2000-10-24 Kalle Marjola <rpr@wapit.com> * gw/urltrans.c: oops, forgot to switch reservations2000-10-24 Kalle Marjola <rpr@wapit.com> * gw/urltrans.c: added missing (disappeared?) room reservation for %q and %Q in get_pattern, and added note why sender and receiver is switched. Thanks for Juho-Pekka Virolainen for noticing this.2000-10-24 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: Added support for Falcom A2D modem, thanks to Mike Gaertner. Also changed the default protocol identifier and coding scheme. Preliminary support for Nokia 7110 as SMSC. 2000-10-23 Lars Wirzenius <liw@iki.fi> * gwlib/gwmem.h, gwlib/protected.h: Wrote macros to make it harder to call the wrapped functions directly. * gwlib/gwmem-check.c, gwlib/gwmem-native.c, gwlib/protected.c: Call the wrapped functions anyway. :) * gw/bb_smsc.c, test/fakesmsc.c, test/fakewap.c, test/test_cimd2.c, test/wml_tester.c: Use wrappers instead of direct calls to the wrapped functions. * wmlscript/wmlsc.c: Undefine the accident protectors and call the wrapped functions directly. This needs to be fixed later.2000-10-23 Lars Wirzenius <liw@iki.fi> * gwlib/utils.[ch]: Wrote gw_isdigit and gw_isxdigit as wrappers around isdigit and isxdigit, to compensate for broken platforms where they are not available as functions. * gw/smsc_cimd2.c, gw/wsp_headers.c, gwlib/octstr.[ch]: Use gw_isdigit and gw_isxdigit instead of isdigit and isxdigit together with octstr_check_range.2000-10-23 Lars Wirzenius <liw@iki.fi> * configure{.in,}: Don't compile start-stop-daemon, unless the --enable-start-stop-daemon option is used. * gw/smsc_at.c, gw/smsc_emi.c, gw/smsc_sema.c: Define CRTSCTS as zero if it is not defined. * gwlib/socket.c: Allocate the 64 kilobyte buffer dynamically, instead of from the stack. * These changes were prompted by a report of HP/UX compilation changes by Timo Siirainen.2000-10-23 Lars Wirzenius <liw@iki.fi> * ChangeLog: Formatted long lines.2000-10-23 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: added missing EMI variable connect-allow-ip2000-10-23 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_resp_state-decl.h: Spec does not say what to do when state is RESULT_RESP_WAIT and event receiving an invoke. Yet 0.12 logs already have these events. Handled event same way when state is RESULT_WAIT.2000-10-23 Richard Braakman <dark@wapit.com> * Made gwthread_poll() actually return the results.2000-10-23 Richard Braakman <dark@wapit.com> * Bugfix: HTTP POST requests have a Content-Length again. Thanks to Stipe Tolj for spotting the problem.2000-10-20 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: wrote appendix B, using fake SMS center.2000-10-19 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: added notes on 'required components' for SMS gateways2000-10-19 Kalle Marjola <rpr@wapit.com> * gw/wapbox.c: send that wakeup when bearerbox exits, too. 2000-10-19 Kalle Marjola <rpr@wapit.com> * gw/wapbox.c: modified send_heartbeat to use gwthread_sleep instead of ordinary sleep, so we can use gwthread_wakeup to wake it up when wapbox is killed - now wapbox dies when it catches kill, not after 0-30 seconds. 2000-10-18 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: Now checks also attributes for texts that could be placed in the string table. Also removes non alphanumerical characters from the start and the end of the strings. * gwlib/octstr.[ch]: octstr_strip_nonalphanums added.2000-10-18 Richard Braakman <dark@wapit.com> * gwlib/conn.[ch]: Added conn_wait_multi(). Untested. Fine-tuned the locking in conn_wait. * gwlib/gwthread-pthread.c, gwlib/gwthread.h: Added gwthread_poll(). Untested.2000-10-18 Richard Braakman <dark@wapit.com> * gwlib/charset.c, gwlib/conffile.c, gwlib/counter.c, gwlib/counter.c, gwlib/gwmem-check.c, gwlib/gwmem-native.c, gwlib/gwstr.c, gwlib/parse.c, gwlib/protected.c, gwlib/socket.c, gwlib/thread.c: Reformatted.2000-10-18 Richard Braakman <dark@wapit.com> * configure.in, config.h.in: New test for HAVE_SYS_POLL_H. * gwlib/gwpoll.h, gwlib/gwpoll.c: Files that either include sys/poll.h or define poll() themselves. * gwlib/gwlib.h: Include gwpoll.h. * gwlib/conn.c, gwlib/gwthread-pthread.h: Do not include sys/poll.h directly, let gwlib/gwlib.h do it.2000-10-18 Richard Braakman <dark@wapit.com> * gw/bb_udp.c, gwlib/http.c: Corrected some stray free() calls to gw_free().2000-10-18 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.c: Use new report_version in HTTP admin status, too.2000-10-18 Lars Wirzenius <liw@iki.fi> * gw/shared.[ch]: Added function version_report_string so that the report_version() info can be reported via HTTP as well.2000-10-18 Kalle Marjola <rpr@wapit.com> * gw/smsc_fake.c: fixed that message sending is not tried with closed socket, but error is returned instead * gw/bb_*.c: added missing queueing information to status: now all lists are added together before reporting queue lengths2000-10-18 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_init_state-decl.h, wtp_resp_state-decl.h: Add a comment tell- ing which CR is implemented. Now all deviations from June 2000 con- formance release are explained.2000-10-18 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.c: updated 'status' to tell number of messages still queued in main queues (internal specific queues are not yet counted) * gw/bb_*.c: Did initial code changes for 'xmlstatus' query, although it does not return anything yet.2000-10-18 Lars Wirzenius <liw@iki.fi> * gw/urltrans.c: Fix off-by-one error in is_safe array size in encode_for_url().2000-10-18 Lars Wirzenius <liw@iki.fi> * gw/bearerbox.c, gw/smsbox.c, gw/wapbox.c: Added missing #include "shared.h".2000-10-17 Lars Wirzenius <liw@iki.fi> * gwlib/gwlib.c: Reformatted to new coding style. * gw/shared.[ch]: New files to hold the function report_versions (and other functions in the future). This function reports the version of Kannel that starts up, and the host it runs on, and the version of libxml.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -