Commit Graph

121 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov acf43f619f Only add content-length header for messages containing zero byte
Allows OpenMQ/ActiveMQ to correctly map messages to JMS TextMessages
instead of only BytesMessages.

Fixes https://bugs.php.net/bug.php?id=70280
2015-08-18 12:08:17 +03:00
Vitaliy Filippov 618d2bd4d4 Fix compiler warning (assignment makes pointer from integer without a cast) 2015-08-18 12:07:50 +03:00
Gennady Feldman eb55496781 Fixing stomp_writable() check so we can catch when connect failed. 2015-06-05 14:41:04 -04:00
Gennady Feldman 15a3b9a059 1.0.8 => 1.0.9-dev 2015-05-18 18:19:58 -04:00
Gennady Feldman 50bfb5d8da Releasing v1.0.8 2015-05-18 18:17:11 -04:00
Gennady Feldman 4bd40f20a2 Fixing PHP_STOMP_VERSION constant, per Remi's request. 2015-05-18 18:08:25 -04:00
Remi Collet bf4539e523 fix perm on source files 2015-05-16 07:18:45 +02:00
Gennady Feldman 2c4b2f8bf1 1.0.7 => 1.0.8-dev 2015-05-15 17:21:29 -04:00
Gennady Feldman 0e38c2452e Releasing v1.0.7 2015-05-15 17:12:34 -04:00
Gennady Feldman 59b74e4142 Merge branch 'pull-request/6' 2015-05-05 10:20:59 -04:00
Gennady Feldman fbacdccd37 Fix error checking after stomp_send().
This one has been in there for a while and would hang for me in
1.0.6 release if the connection was refused.

Some tests would fail too. This error was also somewhat masked in
previous release. We should abort and throw an exception if send
fails.
2015-05-05 10:17:49 -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
Remi Collet 5024fff376 add missing LICENSE file (mandatory for downstream) 2014-12-08 06:25:08 +01:00
Pierrick Charron 8aece537c1 1.0.6 => 1.0.7-dev 2014-12-07 21:57:57 -05:00
Pierrick Charron ca0de7d66a Release stomp v1.0.6 2014-12-07 21:53:45 -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
Pierrick Charron d37e34917d Make sure connection is closed on error 2014-12-07 14:40:23 -05:00
Pierrick Charron 189b8dcfc2 Fixed bug #64671 (Add stomp_nack and Stomp::nack functions). 2014-12-07 13:22:01 -05:00
Pierrick Charron 026798d7c4 Update package.xml for merged #68497 2014-12-07 13:03:31 -05:00
Pierrick Charron aafb968d49 Merge remote-tracking branch 'github-fntlnz/fix-bug-68497' 2014-12-07 13:01:37 -05:00
Pierrick Charron c338977f53 Update package.xml for Bug #67170 2014-12-07 12:55:45 -05:00
Lorenzo Fontana 8e18eb079d Fix Bug #68497 Stomp client doesn't parse ERROR response on CONNECT 2014-12-02 19:28:20 +01: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
Peter Petermann beb86e70fe added fix be marcelog, see #59970 2013-03-17 17:33:02 +01: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 d705083ab3 Merge branch 'read_buffer'
* read_buffer:
  Reimplement read_line and read_buffer
  read buffer implementation on top of stomp_recv
2012-11-20 21:28:31 -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 36c7391402 Auto ack for this test 2012-11-20 17:34:51 -05:00
Pierrick Charron 6a0fd1393f Package.xml 2012-11-20 17:11:12 -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 a1619b9aa1 Add new note 2012-11-18 20:31:55 -05:00
Pierrick Charron 520e311c83 Fix rabbitmq compatibility 2012-11-18 20:20:23 -05:00
Pierrick Charron 71caee45bc Add two new ini config default_username and default_password 2012-11-18 19:33:12 -05:00
Pierrick Charron 5f7d260c05 Fix stomp_read_frame when buffered 2012-11-18 19:23:27 -05:00
Pierrick Charron ce374724b9 1.0.5 => 1.0.6-dev 2012-11-18 17:35:17 -05:00
Pierrick Charron 5a3c1fe602 Package XML 2012-11-18 17:32:28 -05:00
Pierrick Charron 04fd7131b1 Prepare version number for release 2012-11-18 17:32:21 -05:00
Pierrick Charron acde8ab523 Add tests for binary safety 2012-11-18 17:12:26 -05:00
Pierrick Charron 8e8861ea8f Auto ack received messages for readframe test 2012-11-18 17:08:14 -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 49ae478103 Fix test to work on all versions of activeMQ 2012-11-17 12:38:54 -05:00