mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gcoap/fileserver: ignore URI HOST option
This commit is contained in:
parent
9333970b77
commit
199e31ef43
@ -561,6 +561,9 @@ ssize_t gcoap_fileserver_handler(coap_pkt_t *pdu, uint8_t *buf, size_t len,
|
||||
}
|
||||
request.options.exists.if_none_match = true;
|
||||
break;
|
||||
case COAP_OPT_URI_HOST:
|
||||
/* ignore host name option */
|
||||
continue;
|
||||
case COAP_OPT_URI_PATH:
|
||||
if (strip_remaining != 0) {
|
||||
strip_remaining -= 1;
|
||||
|
Loading…
Reference in New Issue
Block a user