php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72648 Select timeout wrong
Submitted: 2016-07-22 14:57 UTC Modified: -
From: phil at philwieland dot com Assigned:
Status: Closed Package: stomp (PECL)
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 36 = ?
Subscribe to this entry?

 
 [2016-07-22 14:57 UTC] phil at philwieland dot com
Description:
------------
In the file stomp.h the line 

#define stomp_select(s) stomp_select_ex(s, s->options.read_timeout_sec, s->options.read_timeout_sec)

is clearly wrong, and the last argument should be s->options.read_timeout_usec


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-23 16:14 UTC] pierrick@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=pecl/tools/stomp.git;a=commit;h=3257341e47ccd70a9bb8910417f4405b1e608432
Log: Fixed bug #72648 timeout_sec used instead of timeout_usec
 [2016-07-23 16:14 UTC] pierrick@php.net
-Status: Open +Status: Closed
 [2016-07-23 16:14 UTC] pierrick@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=pecl/tools/stomp.git;a=commit;h=935f8d213eabcba1cc2ed8a9bdd432bdab0fe704
Log: Fixed bug #72648 timeout_sec used instead of timeout_usec
 [2021-01-12 03:17 UTC] laruence@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=pecl/tools/stomp.git;a=commit;h=935f8d213eabcba1cc2ed8a9bdd432bdab0fe704
Log: Fixed bug #72648 timeout_sec used instead of timeout_usec
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC