Commit Graph

41 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
Remi Collet bf4539e523 fix perm on source files 2015-05-16 07:18:45 +02: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
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
Lorenzo Fontana 8e18eb079d Fix Bug #68497 Stomp client doesn't parse ERROR response on CONNECT 2014-12-02 19:28:20 +01:00
Peter Petermann beb86e70fe added fix be marcelog, see #59970 2013-03-17 17:33:02 +01:00
Pierrick Charron 71caee45bc Add two new ini config default_username and default_password 2012-11-18 19:33:12 -05:00
Pierrick Charron 7d61983988 Fixed bug #59972 - Make body binary safe 2012-11-18 17:05:32 -05:00
Pierrick Charron 4886ef7435 Fixed bug #62831 (Stomp module seems not initializing SSL library first). (Patch by lwhsu at lwhsu dot org) 2012-08-16 03:23:42 +00:00
Pierrick Charron 4afeec47b5 Fix macros 2011-09-01 14:19:38 +00:00
Pierrick Charron e95a759e70 Modify the phpinfo to display either or not the SSL support is enabled 2010-10-16 03:50:50 +00:00
Pierrick Charron 90ef82399f Remove useless call to zend_hash_internal_pointer_reset 2010-08-20 05:36:18 +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 56c9d3d3f9 Fixed bug #17262 (Server is not responding on win32). 2010-06-07 02:31:30 +00:00
Pierrick Charron 3c59221f67 Remove unused variable 2010-06-07 01:06:18 +00:00
Pierrick Charron 994b70f0b6 Make the php_stomp.c compile with the new runtime cache 2010-06-06 18:22:03 +00:00
Pierrick Charron 3b33476692 Add headers param to the constructor to allow things like activemq durable/retroactive client support 2010-03-17 08:28:53 +00:00
Pierrick Charron 7293ab3977 Fix compilation issue on 5.2.x 2010-01-18 13:53:47 +00:00
Pierrick Charron 3b149a22b1 Add new methods/functions arg info 2010-01-18 02:42:16 +00:00
Pierrick Charron 3e73da930b Adds the ability to specify an alternative class for readFrame 2010-01-16 06:07:42 +00:00
Pierrick Charron f50e766836 New copyright for 2010 2010-01-04 20:22:09 +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 db3abd3904 Code cleaning 2009-12-05 19:49:26 +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 ace10bbdde Fix memory leaks in stomp_send and stomp_ack 2009-11-07 19:01:37 +00:00
Pierrick Charron f0938284ad Prepare release 0.3.0 2009-11-07 04:03:10 +00:00
Pierrick Charron 543a6a18a3 * Add stomp_error_connect function
* Rename all properties param headers
* Rename Stomp::disconnect by Stomp::__destruct
2009-11-05 07:18:13 +00:00
Kalle Sommer Nielsen 613f4fb294 These should be either E_WARNING or E_RECORABLE_ERROR, they are non-fatal show-stoppers :) 2009-11-04 13:52:58 +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
Kalle Sommer Nielsen b814cd9bee * Windows build fix (swap #include)
* Windows SSL check and support in config.w32
* Typo in test name
2009-10-31 21:50:11 +00:00
Pierrick Charron db5ef566d2 Add SSL support in MINFO 2009-10-31 20:39:33 +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