📄 changelog-0.13.1
字号:
2000-11-28 Lars Wirzenius <liw@iki.fi> * gw/smsbox_req.c: Deal with failed requests in the proper manner, which does not include segfaulting.2000-11-28 Lars Wirzenius <liw@iki.fi> * checks/check_sendsms.sh: Wait a couple of seconds before making http requests so that the smsbox has time to start up properly. * gw/html.c: Moved the html prefix and suffix stripping function into smsbox_req.c, since it doesn't really do anything with html, just octstrs. Cleaned up url_result_thread slightly.2000-11-28 Lars Wirzenius <liw@iki.fi> * gw/smsbox_req.c: Accept WML responses as well as plain text and HTML responses.2000-11-28 Paul Keogh <paul.keogh@anam.com> * gwlib/gwmem-check.c: Removed compiler warning of "gwmem-check.c(370) : unary minus operator applied to unsigned type, result still unsigned."2000-11-27 Lars Wirzenius <liw@iki.fi> * gw/smsbox_req.c: Made obey_request return an Octstr, instead of a C string.2000-11-27 Lars Wirzenius <liw@iki.fi> * gw/smsbox_req.c: Formatted to follow coding style.2000-11-27 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c, gw/smsbox_req.c: Changed the thread structure for smsbox so that threads are not created dynamically for each new message, but instead threads are created at startup and messages are passed around between then via queues. * gw/urltrans.c: Fixed memory leak by remembering to destroy the deny_ip string as well.2000-11-27 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: corrected explanation of smsc-id in sendsms interface chapter2000-11-24 Richard Braakman <dark@wapit.com> * Added Suspend/Resume support. (Not well tested yet) * wap/wsp_pdu.def: Note that the capabilities field in a Resume PDU is reserved. * wap/wsp_server_method_states.def: Explain why we don't decrement N_Methods.2000-11-24 Kalle Marjola <rpr@wapit.com> * gw/smsc.c: oops, did fix to wrong place, silly me2000-11-24 Lars Wirzenius <liw@iki.fi> * gwlib/gwmem-check.c: Add casts to avoid comparing pointers and integers.2000-11-24 Richard Braakman <dark@wapit.com> * gw/heartbeat.[ch]: New files, contain heartbeat code shared between wapbox and smsbox. * gw/wapbox.c, gw/smsbox.c: Use shared heartbeat code. * gw/smsbox.c: Use Connection for the link with the bearer box. Made bb_host an Octstr. * gw/smsbox_req.c: write_msg() cannot fail, so don't check return codes. * gwlib/conn.c: Memory leak debugging: all callers of unlocked_get claim the result as theirs. * gwlib/http.c: Fix memory leak in read_chunked_body_crlf(). * configure.in, config.h.in: Added --with-malloc=slow, which does a more careful (but much slower) check in find_area(). This can sometimes report problems that would otherwise cause a segfault. * gwlib/gwmem.h, gwlib/gwmem-check.c: Implement --with-malloc=slow. Also do the careful check if the pointer looks like one of our standard fill patterns. * gwlib/octstr.c: Added seems_valid() call in octstr_dump(). * gwlib/http.c: Get rid of clients_in_fdset list. This removes a race condition that would cause occasional segmentation faults, but leaves us with some "memory leaks". (They aren't really, but are reported as such.) * gw/smsc_emi.c: Converted previous patch to our coding style wrt parenthesis usage. emi_open_session: Added missing final return. emi_fill_ucp60_login: Made ia5passwd dynamically allocated, since variable-length arrays are not standard C.2000-11-24 Kalle Marjola <rpr@wapit.com> * gw/smsc.c, gw/smsc_emi.c: applied authentication patch by Joerg Pommnitz2000-11-23 Richard Braakman <dark@wapit.com> * wap/wsp.h, wsp/wsp_headers.c, wap/wsp_session.c: Changed some "XXX" comments. * wap/wsp_pdu.h, wap/wsp_server_method_states.def, wap/wsp_unit.c: Introduced GET_METHODS and POST_METHODS identifiers to avoid using 0x40 and 0x60 as magic numbers.2000-11-23 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: reverted default GSM alphabet patch and added call to charset_latin1_to_gsm(). 2000-11-23 Richard Braakman <dark@wapit.com> * gw/smsbox.c: Moved http_proxy_ variables into init_smsbox, since they are used only there. Made http_proxy_host an Octstr. * gw/smsbox.c: Wait for http_request_thread to terminate, when shutting down the box. * gw/smsbox_req.[ch], gw/smsbox.c: Added smsbox_req_shutdown(), so that it can clean up its copy of global_sender.2000-11-23 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Deal with HTTP version numbers above 1.1 also on the server side. Use a single function for the checking that is used by both the client and server.2000-11-23 Richard Braakman <dark@wapit.com> * wap/wtp_init.c, wap/wtp_init_states.def, wap/wtp_resp.c, wap/wtp_resp_states.def: Added static send_abort() and send_ack() functions, to simplify the state machine definitions.2000-11-23 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: some corrections to just written2000-11-23 Richard Braakman <dark@wapit.com> * gw/smsc_at.c, gw/smsbox_req.c: Replaced some strcpys with pointer assignments. * doc/userguide/userguide.xml: Replaced an & with & so that it compiles. * checks/check_sendsms.sh: Reduced sleep after starting bearerbox, because it starts up faster now. Added "sleep 5" before killing bearerbox, because smsbox segfaults if it's still busy when the bearerbox goes away.2000-11-23 Yann Muller <ymuller@3glab.com> * doc/userguide/userguide.xml: Added Stipe Tolj's explanations for multiple OTA configs.2000-11-23 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: Added some explanation of SMS and what is an SMS gateway - might need editing, but neverthless there is some text * doc/userguide/sms-gateway.fig: New picture to support that explanation2000-11-22 Richard Braakman <dark@wapit.com> * gw/smsc.c, gw/smsc_cimd.c: Reformatted.2000-11-22 Lars Wirzenius <liw@iki.fi> * test/drive_wapbox.c: Killed a memory leak by destroying a temporary octet string. * gwlib/gwmem-check.c: When dumping allocated areas, dump the first few bytes of the area. * gwlib/http.c: Destroy HTTPClients before destroying the fdset.2000-11-22 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: Moved some explanations to correct places, to avoid mixed up context2000-11-22 Richard Braakman <dark@wapit.com> * gwlib/fdset.c: When destroying an fdset with active fd's, close them first and signal that event.2000-11-22 Lars Wirzenius <liw@iki.fi> * doc/userguide/userguide.xml: Add notes about HTTP proxy username and password.2000-11-21 Richard Braakman <dark@wapit.com> * wmlscript/wserror.c, wmlscript/wslexer.c: Fixed some assertions with side effects.2000-11-21 Richard Braakman <dark@wapit.com> * gw/html.c, convert_html_entity(): Made conversion of entities like Ӓ work.2000-11-21 Richard Braakman <dark@wapit.com> * gw/html.c, gw/msg.c: Reformatted.2000-11-21 Richard Braakman <dark@wapit.com> * gw/cgi.[ch]: Removed, they are no longer used. * gw/smsbox.c, gw/smsbox_req.[ch]: Removed inclusion of cgi.h.2000-11-21 Richard Braakman <dark@wapit.com> * gwlib/gwthread-pthread.c, gwlib/conn.c, gwlib/list.c, gwlib/utils.c (roundup_div): Formatted according to our coding style. All of gwlib/ is now converted.2000-11-21 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Made persistent connection detection work with HTTP/1.0 responses and responses with the "Connection: close" header. Also removed an extra "Using proxy" report. * ChangeLog: Indented the first line of the previous log entry properly. (8, not 4)2000-11-21 Yann Muller <ymuller@3glab.com> * gwlib/utils.[ch], gw/smsbox_req.c: moved roundup_div() from smsbox_req.c to utils.c so it can be used from other files. * gw/smsc_at.c: fix for 7 bit encoded PDU's with a UDH. * gw/smsbox_req.c: maxdatalength fix in do_split_send(). 2000-11-21 Lars Wirzenius <liw@iki.fi> * checsk/check_fakesmsc.sh: Sleep before starting background processes, so that the previous ones have time to start up properly. * ChangeLog: Indented the previous log entry properly. (8, not 4)2000-11-21 Yann Muller <ymuller@3glab.com> * gw/smsbox_req.c: sendota patched (Stipe Tolj) to accept more that one OTA configuration. 2000-11-20 Richard Braakman <dark@wapit.com> * Turned WTP and WSP protocol stacks into a library. Source files moved to a directory called "wap", which generates libwap.a. The interface to this library is specified in wap/wap.h. The application layer remains in gw/. * In WAPAddrTuple, rename "client" and "server" to "remote" and "local", to prevent confusion in client-side code. * While moving files to wap/, renamed declaration files to ".def", and made filenames use _ instead of - as separator. Also put "server" in the name of some WSP files, to make room for future "client" files. * Sanitized header files that include other header files. Now each header only includes what it needs. * Layers can be started independently, and use configurable dispatch functions. * wap/timers.c, wap/wsp_strings.c: Allow nested initializations and shutdowns, because layers that use them can be started independently. * WTP layer now uses datagram events instead of Msg structures for its lower level. * wtp_send.c converted to wtp_pack.c, because it no longer does its own sending. * wtp_tid.c uses WAPAddrTuple instead of its own structure. * gw/wap-appl.c, gw/wapbox.c: Use the new interface.2000-11-20 Lars Wirzenius <liw@iki.fi> * gwlib/dict.c: Avoid an extra list_search if we know the list was empty.2000-11-20 Richard Braakman <dark@wapit.com> * Making release 0.13.2000-11-20 Richard Braakman <dark@wapit.com> * gwlib/dict.c: Made it initialize empty table entries with NULL instead of empty lists, to save memory. * gwlib/http.c: Fix memory leak in send_request() when retrying a request. * gwlib/http.c: Make sure that a retried request really gets a _new_ connection. Otherwise it could be rejected just because two connections have timed out.2000-11-19 Derry Hamilton <rasilon@tardis.ed.ac.uk> * solaris/prototype: Updated the prototype to reflect the newer install style.2000-11-17 Kalle Marjola <rpr@wapit.com> * gw/bb_smsc.c (sms_receiver): usleep limit to avoid portability problems, patch by Jarkko Oikarinen2000-11-16 Richard Braakman <dark@wapit.com> * gwlib/http.c: Responses with status 1xx, 204, or 304 are defined as having no message body, so don't expect one.2000-11-16 Richard Braakman <dark@wapit.com> * gwlib/http.c: Removed calls to conn_unregister that were followed by calls to conn_destroy. It's redundant, and in one case the connection might be NULL. * gwlib/conn.c: Add some conn != NULL assertions.2000-11-16 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: In function at_open_connection() added parity line for this modem type. In function at_open() adding sleep period only for this modem type, may be expanded. In function pdu_extract() changed skipping of 00 sequence for the specific modem types. (patch by Stipe Tolj)2000-11-15 Richard Braakman <dark@wapit.com> * gw/wsp-session.c: Address tuples are now included in events sent from WTP to WSP, so the code for looking up tuples based on WTP handles is no longer needed. * gw/wtp_resp.[ch]: Removed now-unused functions wtp_resp_get_address_tuple, find_resp_machine_using_mid, and resp_machine_has_mid.2000-11-15 Kalle Marjola <rpr@wapit.com> * gw/bb_boxc.c: added wapbox load based balancing, based on ofiginal patch by Rishi Lal and Priya Patil2000-11-15 Kalle Marjola <rpr@wapit.com> * gw/smsc_wrapper.c, gw/smscconn_p.h: Added. * gw/smscconn.c: moved wrapping stuff into smsc_wrapper.c, and private structure data into private header smscconn_p.h so that caller (main bearerbox) does not need to worry about that2000-11-14 Richard Braakman <dark@wapit.com> * doc/CodingStyle: Document our practice of having include files include other files.2000-11-14 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Simplified code a bit by combining the two different states (reading_body and reading various parts of a chunked body) into one.2000-11-14 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Implemented, I hope, proxy_add_authentication(), but I can't test it, since I don't have a proxy that requires authentication. If it doesn't work, hopefully people will tell me.2000-11-14 Lars Wirzenius <liw@iki.fi> * gwlib/http.[ch]: Wrote function http_add_basic_auth. * test/test_http.c: Added code to optionally use Basic Auth with requests.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -