mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-11 06:41:51 +00:00
Merge pull request #639 in FS/freeswitch from ~GRINDHOLD/freeswitch:bugfix/perl-sendmsg-fix to master
* commit 'c61f6826c80bc95977b9be49dfbdcc23562e4d8d': bugfix: prevented endless loop in sendmsg
This commit is contained in:
@@ -145,7 +145,8 @@ sub sendmsg($$$) {
|
||||
|
||||
for(;;) {
|
||||
$e = $self->readhash(undef);
|
||||
last if $e->{socketerror} or $e->{'content-type'} eq 'command/reply';
|
||||
last if $e->{socketerror} or $e->{'content-type'} eq 'command/reply'
|
||||
or $e->{'content-type'} eq 'api/response';
|
||||
push @{$self->{events}}, $e;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user