HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c24643
)
Continue on OS.SysErr in server loop
author
Adam Chlipala
<adamc@hcoop.net>
Sat, 9 Dec 2006 21:03:06 +0000
(21:03 +0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Sat, 9 Dec 2006 21:03:06 +0000
(21:03 +0000)
src/main.sml
patch
|
blob
|
blame
|
history
diff --git
a/src/main.sml
b/src/main.sml
index
59607bb
..
19162a3
100644
(file)
--- a/
src/main.sml
+++ b/
src/main.sml
@@
-287,6
+287,11
@@
fun slave () =
OpenSSL.close bio
handle OpenSSL.OpenSSL _ => ();
loop ())
+ | OS.SysErr (s, _) =>
+ (print ("System error: "^ s ^ "\n");
+ OpenSSL.close bio
+ handle OpenSSL.OpenSSL _ => ();
+ loop ())
in
loop ();
OpenSSL.shutdown sock