Commit Graph

45 Commits (master)

Author SHA1 Message Date
Gennady Feldman eb55496781 Fixing stomp_writable() check so we can catch when connect failed. 2015-06-05 14:41:04 -04:00
Gennady Feldman bdedf5922c Adding #ifdef HAVE_NETINET_IN_H around the new TCP_NODELAY code to fix compilation on Windows and possibly others. 2015-02-25 11:58:32 -05:00
Pierrick Charron 8b0bbd4db2 Improve frame stack and add test 2014-12-09 01:49:39 -05:00
Pierrick Charron 79a3ca34c4 Fix error message on invalid receipt 2014-12-09 01:10:11 -05:00
Pierrick Charron 200bd35bb2 Fix error message mismatch 2014-12-07 21:15:03 -05:00
Pierrick Charron 059566498b Make stomp_set_error() to be printf like (mi+php at aldan dot algebra dot com) 2014-12-07 18:49:04 -05:00
Yarek Tyshchenko 214d0eb602 Disable Nagle's Algorithm by adding TCP_NODELAY option to the socket
Signed-off-by: Gennady Feldman <gena01@gmail.com>
2014-12-01 10:43:38 -05:00
Pierrick Charron 5ac6a47e5d Remove compilation warnings 2012-11-21 08:59:02 -05:00
Pierrick Charron 6dff7f7fd1 Remove useless new line 2012-11-20 21:45:38 -05:00
Pierrick Charron e7feab2950 Reimplement read_line and read_buffer 2012-11-20 21:25:46 -05:00
Pierrick Charron 19f47cd105 read buffer implementation on top of stomp_recv 2012-11-20 19:54:00 -05:00
Pierrick Charron 9e0839fff1 Rename few things 2012-11-20 19:12:26 -05:00
Pierrick Charron d4c9f11e07 Combine the two sendto call in one 2012-11-20 17:00:43 -05:00
Pierrick Charron 0a6e6b2f5a s#writeable#writable#g 2012-11-19 09:03:22 -05:00
Pierrick Charron 520e311c83 Fix rabbitmq compatibility 2012-11-18 20:20:23 -05:00
Pierrick Charron 5f7d260c05 Fix stomp_read_frame when buffered 2012-11-18 19:23:27 -05:00
Pierrick Charron 7d61983988 Fixed bug #59972 - Make body binary safe 2012-11-18 17:05:32 -05:00
Pierrick Charron 5793a7efee Add a buffer for receipts 2012-11-18 11:09:14 -05:00
Pierrick Charron d83dfa7117 Fix memory leak when Stomp can not write it's message 2012-11-17 17:27:40 -05:00
Pierrick Charron 98ed6eac3c Fixed default read timeout usec 2010-10-13 03:13:56 +00:00
Pierrick Charron 61327e6fa7 Fixed bug #18772 (setTimeout usecs not honored). 2010-10-13 03:13:19 +00:00
Pierrick Charron d667481cd7 Coding standards 2010-08-12 03:27:21 +00:00
Pierrick Charron e4b0c389d6 Avoid too many call to php_pollfd_for_ms (this fix SSL connection problem) 2010-08-12 03:21:53 +00:00
Pierrick Charron 078bac3324 New details property in the StompException class
New method StompException::getDetails()
Add the body content in the Stomp::Error() method
2010-07-27 05:48:59 +00:00
Pierrick Charron ca58640f70 Fix memory leak 2010-07-26 05:11:37 +00:00
Pierrick Charron 97ab0bcdd2 Add more specific error messages when receipt is not valid 2010-06-08 03:56:04 +00:00
Pierrick Charron 928bc0975e Code cleaning 2010-06-07 02:53:34 +00:00
Pierrick Charron 56c9d3d3f9 Fixed bug #17262 (Server is not responding on win32). 2010-06-07 02:31:30 +00:00
Pierrick Charron f50e766836 New copyright for 2010 2010-01-04 20:22:09 +00:00
Pierrick Charron 7d0911ffd5 Fix typo in comments 2009-12-31 20:34:08 +00:00
Pierrick Charron 8a19087270 Move the use_ssl bool into the option struct 2009-12-28 01:05:04 +00:00
Pierrick Charron 7c135b9664 First step to make the stomp.c/stomp.h more reusable 2009-12-28 01:01:07 +00:00
Pierrick Charron b986c891d8 Rename frame_destroy => stomp_free_frame 2009-12-27 23:51:12 +00:00
Pierrick Charron d1934cf31b Rename stomp_new by stomp_init 2009-12-27 18:53:12 +00:00
Pierrick Charron 26427f95cd Remove useless TSRM from the stomp_close 2009-12-27 18:48:22 +00:00
Pierrick Charron 5940fe8264 Remove useless TSRM from the stomp_new 2009-12-27 18:36:22 +00:00
Pierrick Charron c7ea4d16e0 Fix extern declaration warning 2009-12-27 04:15:15 +00:00
Pierrick Charron db3abd3904 Code cleaning 2009-12-05 19:49:26 +00:00
Pierrick Charron 9ec595819e Fix bug #16936 (patch by pop3 at flachtaucher dot de) 2009-11-16 14:52:05 +00:00
Pierrick Charron 265f925b84 Fix bug 16933 2009-11-14 22:48:32 +00:00
Pierrick Charron 87b67a302d Fix bug #16930 2009-11-14 22:05:01 +00:00
Pierrick Charron dd187e6546 Fix a memory leak in stomp_read_line 2009-11-05 07:02:54 +00:00
Pierrick Charron 7e97fc910f * Add arginfo to StompFrame::__construct
* Add a properties optional param to all php_stomp_transition
* Config separation of the connection and read timeout
* Modify timeout methods/functions to read_timeout
2009-11-04 01:36:17 +00:00
Pierrick Charron 9182fffe6e Add stomp+SSL support 2009-10-31 20:34:03 +00:00
Pierrick Charron 3718df2b84 Stomp extension - Initial import 2009-10-30 01:28:16 +00:00