Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Dec 31, 2011
@gmallard gmallard Really remove the send method from both client and connection. c530f39
Commits on Jan 02, 2012
@gmallard gmallard Fix unusual exception when header values from the user are frozen. 7fde9da
Commits on Mar 01, 2012
@gmallard gmallard Initial cut at extended SSL support. 9a8d1da
Commits on Mar 02, 2012
@gmallard gmallard Revert 245e734
    This revert was performed by hand in order to preserve
    logic mixed in from 1.1.10 onwards, especially logic
    from 1.2.0.

    The reverted commit reversed the logic of how to drain extra
    new lines from the wire.  This draning must be done at the end
    of a message receive, and not deferred until the start of the
    next read.  If new line draining is deferred, the async
    nature of the poll method fails.

    Previously no test existed that would reveal this flaw.
    A test for that has been added in this commit.  A corresponding
    rspec test is TBD.
Commits on Mar 04, 2012
@gmallard gmallard Add feedback information to SSLParams. 0cb7d75
@gmallard gmallard Add short SSL connection examples. 5201b0b
@gmallard gmallard Support multiple certs in the client trust store. 1c0a64c
Commits on Mar 06, 2012
@gmallard gmallard Fix verify_result for Ruby 1.8.[56] d199d91
Commits on Mar 09, 2012
@ripienaar ripienaar Prior to this commit the on_connect logger would only be called on
initialize, not later on during reconnects such as those initiated
during managing a reliable connection:

    `on_connecting' Connection attempt 0 to stomp://rip@stomp:6162
    `on_connectfail' Connection to stomp://rip@stomp:6162 failed on attempt 0
    `on_connected' Conncted to stomp://rip@stomp:6163

Here a 2nd connection attempt was made to the failover connection that
was defined in the pool but never logged

With this commit we now log at each attempt to reconnect the sockets
instead so we get:

    `on_connecting' Connection attempt 0 to stomp://rip@stomp:6162
    `on_connectfail' Connection to stomp://rip@stomp:6162 failed on attempt 0
    `on_connecting' Connection attempt 1 to stomp://rip@stomp:6163
    `on_connected' Conncted to stomp://rip@stomp:6163
@ripienaar ripienaar Only log the connection attempt in open_tcp_socket since open_ssl_socket
will use that method to create the socket
@gmallard gmallard Merge pull request #31 from ripienaar/log_all_connect_attempts
Always log connection attempts via on_connecting
@gmallard gmallard Add a default SSL ciphers list, and let clients override it.
This corrects connection failures in more modern Ruby builds.
@gmallard gmallard Add connecting and connected loger callbacks specifically for SSL. c98864a
Commits on Mar 10, 2012
@gmallard gmallard When using SSLParams allow flexibility in the ciphers list to be used:
Options provided are:

- Stomp::DEFAULT_CIPHERS (the default)
- Client specified custom ciphers list
- Force use of Ruby's default cipher list
@gmallard gmallard Fix issue 27:
Raise Stomp Error if header read is nil.
Warn if connection logon looks like a URL.
@gmallard gmallard Some prep work for gem version 1.2.1. 7b0cffd
Commits on Mar 11, 2012
@gmallard gmallard Raise if an SSL required file does not exist. da6dc08
@gmallard gmallard Use defined constants in all cases. c6bbf04
Commits on Mar 13, 2012
@gmallard gmallard Update changelog and gemspec. Gem version 1.2.1. 001aa62
Commits on Mar 16, 2012
@gmallard gmallard Performance: receive of messages without a content_length header impr…
@gmallard gmallard Correct failing test using Stomp 1.1 bf9e145
@FearMediocrity FearMediocrity Updated the sample code to reflect the use of publish instead of send. 702522c
@gmallard gmallard Merge pull request #32 from FearMediocrity/patch-1
Updated the sample code to reflect the use of publish instead of send.
Commits on Mar 17, 2012
@gmallard gmallard Add on_ssl_connectfail logger callback with Exception information. b14962a
Commits on Mar 19, 2012
@gmallard gmallard Allow clients to opotionally signal quit from a connectfail callback.
The callbacks:

- on_connectfail
- on_ssl_connectfail

may raise Stomp::Error::LoggerConnectionError to signal that
connection attempts should not continue.  This exception is
passed to the caller to handle.
@gmallard gmallard Check exception classes differently and add File::readable? checks fo…
…r SSL files.
Commits on Mar 20, 2012
@gmallard gmallard Add ability for clients to use :fsck => true when using 0d25929
Commits on Mar 22, 2012
@gmallard gmallard Tweak test for Windows compatability. dfbb104
Commits on Mar 25, 2012
@gmallard gmallard Gem version 1.2.2. See the change log for details. f827fbe
Commits on Mar 29, 2012
@lgn21st Merge remote-tracking branch 'upstream/master'
Something went wrong with that request. Please try again.