Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 843909 Details for
Bug 1047569
socket/bind fails it's a warning . Rather it should be treated as error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for exit gracefully
Client.patch (text/plain), 1.03 KB, created by
Susant Sahani
on 2013-12-31 21:03:54 UTC
(
hide
)
Description:
patch for exit gracefully
Filename:
MIME Type:
Creator:
Susant Sahani
Created:
2013-12-31 21:03:54 UTC
Size:
1.03 KB
patch
obsolete
>Description: iperf client should handle socket and bind system call properly > > When iperf client encounters a fatal error during socket and bind system call > it throws a warning .This should be treated as a error, > >Author: Susant Sahani <ssahani@redhat.com> > > >--- Client.cpp.orig 2013-11-28 23:12:56.096075601 +0530 >+++ Client.cpp 2013-11-28 23:58:39.811928215 +0530 >@@ -397,7 +397,7 @@ void Client::Connect( ) { > : AF_INET); > > mSettings->mSock = socket( domain, type, 0 ); >- WARN_errno( mSettings->mSock == INVALID_SOCKET, "socket" ); >+ FAIL_errno( mSettings->mSock == INVALID_SOCKET, "socket", mSettings ); > > SetSocketOptions( mSettings ); > >@@ -407,7 +407,7 @@ void Client::Connect( ) { > // bind socket to local address > rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, > SockAddr_get_sizeof_sockaddr( &mSettings->local ) ); >- WARN_errno( rc == SOCKET_ERROR, "bind" ); >+ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings ); > } > > // connect socket
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1047569
: 843909