forked from hehol/t38modem
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix T38Modem hang when sending non-ECM data and the line drops.
Problem found at Regions Bank. This is a rather serious problem where a line drop during a non-ECM send fax will cause T38Modem to stop receiving data on the pty. The problem was introduced on 2012-11-09 with commit 728b05 "Added compatibility for OPAL >= 3.10.5". In this commit the code was changed to use InternalClose() instead of Close() in in T38ModemMediaStream. The check for isOpen was left in, but Opal has already turned off isOpen before calling InternalClose. Therefore, the code inside that if, the call to t38engine->CloseOut() is not run and that causes the backup of data that causes the hang. This fix is serious enough to bump the revision to 3.15.3.
- Loading branch information
1 parent
c070be1
commit a0b23a6
Showing
2 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters