Browse Source

request header debug

master
Jeroen Vreeken 4 years ago
parent
commit
f10e822a73
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      dml_host.c
  2. +1
    -0
      dmld.c

+ 1
- 0
dml_host.c View File

@ -196,6 +196,7 @@ static void rx_packet(struct dml_connection *dc, void *arg,
dml_crypto_sign(header_sig, header, header_size, dk);
dml_packet_send_header(dc, rid, header_sig, header, header_size);
printf("Header requested\n");
}
break;
}


+ 1
- 0
dmld.c View File

@ -642,6 +642,7 @@ void rx_packet(struct dml_connection *dc, void *arg,
dml_packet_parse_req_header(data, len, id);
dc_r = dml_route_connection_get(id);
if (dc_r) {
printf("Request header\n");
dml_packet_send_req_header(dc_r, id);
}
list_add(&con->req_header, id);


Loading…
Cancel
Save