-
-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor DiffMatchPatch diff handler (#16483)
Follow up to #16027 Fixes #15850 Summary of the issue: Diff Match Patch proxy crashes and the calling thread deadlocks Description of user facing changes Diff Match Patch proxy will become more stable Description of development approach Refactored DiffMatchPatch diff handler. Now, when reading from stdout of a proxy process, if not enough bytes are read, the return code is checked. If a return code was received, an exception is raised and a fallback to difflib occurs.
- Loading branch information
Showing
2 changed files
with
36 additions
and
24 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