Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
546af059
...
546af059a1ca12e8d8a536b2ba2e06b297df50a1
authored
2002-07-26 11:20:21 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Handle SIGPIPE separately. Many clients seem to not wait for a response to LOGOUT command.
1 parent
0bdc2655
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
imap4d/signal.c
imap4d/signal.c
View file @
546af05
...
...
@@ -47,7 +47,18 @@ imap4d_signal (int signo)
exit
(
1
);
/* abort(); */
}
if
(
signo
==
SIGALRM
)
switch
(
signo
)
{
case
SIGALRM
:
imap4d_bye
(
ERR_TIMEOUT
);
case
SIGPIPE
:
exit
(
0
);
default:
imap4d_bye
(
ERR_SIGNAL
);
}
}
...
...
Please
register
or
sign in
to post a comment