mirror of
https://libwebsockets.org/repo/libwebsockets
synced 2025-05-03 23:49:53 +00:00
async dns: allow up to 8 x 128-char CNAMEs from 4
https://github.com/warmcat/libwebsockets/issues/3329 Extra ~600 bytes stack needed might be a struggle for RTOS, trimmed from 10 recommended in issue.
This commit is contained in:
parent
216af745e3
commit
4a23c07bf4
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ lws_adns_iterate(lws_adns_q_t *q, const uint8_t *pkt, int len,
|
||||||
const char *expname, lws_async_dns_find_t cb, void *opaque)
|
const char *expname, lws_async_dns_find_t cb, void *opaque)
|
||||||
{
|
{
|
||||||
const uint8_t *e = pkt + len, *p, *pay;
|
const uint8_t *e = pkt + len, *p, *pay;
|
||||||
struct label_stack stack[4];
|
struct label_stack stack[8];
|
||||||
int n = 0, stp = 0, ansc, m;
|
int n = 0, stp = 0, ansc, m;
|
||||||
uint16_t rrtype, rrpaylen;
|
uint16_t rrtype, rrpaylen;
|
||||||
char *sp, inq;
|
char *sp, inq;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue