|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64671 NACKs are exactly like ACKs
Submitted: 2013-04-18 18:46 UTC Modified: 2014-12-07 19:07 UTC
Avg. Score:4.5 ± 0.9
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:3 (75.0%)
From: mi+php at aldan dot algebra dot com Assigned: pierrick (profile)
Status: Closed Package: stomp (PECL)
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2013-04-18 18:46 UTC] mi+php at aldan dot algebra dot com
Though the package provides a convenience function/method for generating ACK-frames, there is no support for NACKs -- these have to be built by hand.

My patch adds stomp_nack as an alias for stomp_ack and modifies the function to use one of the two commands depending on how it was invoked.


stomp-patch-whitespace-at-eol (last revision 2013-04-18 18:49 UTC by mi+php at aldan dot algebra dot com)
stomp-patch-nack (last revision 2013-04-18 18:47 UTC by mi+php at aldan dot algebra dot com)

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-25 18:49 UTC]
-Assigned To: +Assigned To: pierrick
 [2014-12-07 18:22 UTC]
Automatic comment on behalf of
Log: Fixed bug #64671 (Add stomp_nack and Stomp::nack functions).
 [2014-12-07 18:22 UTC]
-Status: Assigned +Status: Closed
 [2014-12-07 18:52 UTC] mi+php at aldan dot algebra dot com
So you didn't like the code looking at the argv[0], as my patch was doing?
 [2014-12-07 19:07 UTC]
Not really :) I think the code is much clearer that way. No obscure things in it. But thanks for the patch anyway !
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 22:01:28 2024 UTC