FreeBSD Bugzilla – Attachment 182084 Details for
Bug 218879
[PATCH] net-mgmt/nsca: nsca can exit due to ECONNABORTED
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nsca patch
nsca.diff (text/plain), 1.20 KB, created by
Mark Felder
on 2017-04-25 17:10:40 UTC
(
hide
)
Description:
nsca patch
Filename:
MIME Type:
Creator:
Mark Felder
Created:
2017-04-25 17:10:40 UTC
Size:
1.20 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 438697) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= nsca > PORTVERSION= 2.9.2 >+PORTREVISION= 1 > CATEGORIES= net-mgmt > MASTER_SITES= SF/nagios/nsca-2.x/nsca-${PORTVERSION} > >Index: files/patch-src_nsca.c >=================================================================== >--- files/patch-src_nsca.c (nonexistent) >+++ files/patch-src_nsca.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/nsca.c.orig 2017-04-20 16:25:28 UTC >++++ src/nsca.c >+@@ -917,7 +917,7 @@ static void accept_connection(int sock, >+ return; >+ >+ /* try and handle temporary errors */ >+- if(errno==EWOULDBLOCK || errno==EINTR || errno==ECHILD){ >++ if(errno==EWOULDBLOCK || errno==EINTR || errno==ECHILD || errno==ECONNABORTED){ >+ if(mode==MULTI_PROCESS_DAEMON) >+ sleep(1); >+ else > >Property changes on: files/patch-src_nsca.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 218879
: 182084