Annotate

teal-src/util/signal.d.tl @ 11682:7843f1ca3b33

mod_s2s: Vary log level by remote stream error Increases log level for stream conditions that could indicate a problem on our end, especially programming errors like invalid XML, or the remote server saying that our certificate is invalid, since these should be investigated. Non-issues like closing of idle streams are lowered to debug since it's mostly noise. Other issues left at info are mostly about changes to the remote server, e.g. complete or partial shutdown.
author Kim Alvefur <zash@zash.se>
date Wed, 14 Jul 2021 02:41:15 +0200
parent 11579:ec4f0ec3c0d5
child 12627:b8ce0f61855b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11579
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 local record lib
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 enum signal
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 "SIGABRT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 "SIGALRM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 "SIGBUS"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "SIGCHLD"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 "SIGCLD"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 "SIGCONT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 "SIGFPE"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 "SIGHUP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 "SIGILL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 "SIGINT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 "SIGIO"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 "SIGIOT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 "SIGKILL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 "SIGPIPE"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 "SIGPOLL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 "SIGPROF"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 "SIGQUIT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 "SIGSEGV"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 "SIGSTKFLT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 "SIGSTOP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 "SIGSYS"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 "SIGTERM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 "SIGTRAP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 "SIGTTIN"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 "SIGTTOU"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 "SIGURG"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 "SIGUSR1"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 "SIGUSR2"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 "SIGVTALRM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 "SIGWINCH"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 "SIGXCPU"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 "SIGXFSZ"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 end
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 signal : function (integer | signal, function, boolean) : boolean
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 raise : function (integer | signal)
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 kill : function (integer, integer | signal)
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 -- enum : integer
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 end
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 return lib