commit 443b1c8c5f23b7eb7e651248495c2bf288183765
parent e7db5ee6b1f3fdf4f187731f33c9da7f4a02b16f
Author: Joris Vink <joris@coders.se>
Date: Tue, 4 Jun 2013 16:33:35 +0200
format
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/kore.c b/src/kore.c
@@ -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);
}
}
diff --git a/src/spdy.c b/src/spdy.c
@@ -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");