forked from mirrors/kore
format
This commit is contained in:
parent
e7db5ee6b1
commit
443b1c8c5f
|
@ -125,12 +125,14 @@ main(int argc, char *argv[])
|
|||
signal(SIGQUIT, kore_signal);
|
||||
signal(SIGHUP, kore_signal);
|
||||
|
||||
printf("kore has been started\n");
|
||||
|
||||
for (;;) {
|
||||
if (sig_recv != 0) {
|
||||
if (sig_recv == SIGHUP) {
|
||||
TAILQ_FOREACH(kw, &kore_workers, list) {
|
||||
if (kill(kw->pid, SIGHUP) == -1) {
|
||||
kore_debug("kill(%d, SIGHUP): %s",
|
||||
kore_debug("kill(%d, HUP): %s",
|
||||
kw->pid, errno_s);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ spdy_frame_recv(struct netbuf *nb)
|
|||
} else {
|
||||
data.stream_id = net_read32(nb->buf) & ~(1 << 31);
|
||||
if ((s = spdy_stream_lookup(c, data.stream_id)) == NULL) {
|
||||
kore_debug("received data frame for non existing stream");
|
||||
kore_debug("recv data frame for non existing stream");
|
||||
r = KORE_RESULT_ERROR;
|
||||
} else if (s->flags & FLAG_FIN) {
|
||||
kore_debug("received data frame but FLAG_FIN was set");
|
||||
|
|
Loading…
Reference in New Issue