-
Notifications
You must be signed in to change notification settings - Fork 914
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests and bug fixes for XmlRpcSocket (#1218)
* Unit tests and bug fixes for XmlRpcSocket Add system call mocks for socket functions, and use these to test the XmlRpcSocket class. Improve the address resolution error messages to include a description the error generated by getaddrinfo. Fix an existing TODO where EWOULDBLOCK was not handled as a fatal error on Linux. Fix get_port so that it checks the return code from getsockname; this prevents it from using the socket data uninitialized if getsockname fails. Make a few of the string arguments to XmlRpcSocket const so that they're compatible with string literals. * Add LGPL copyright block and add myself to authors. * Wrap features that obviously won't work on Windows * Indent
- Loading branch information
1 parent
acb152c
commit 8b741ac
Showing
10 changed files
with
1,704 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
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
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
Oops, something went wrong.