Skip to content

Commit

Permalink
mongoose: Read file data directly into send_mbuf
Browse files Browse the repository at this point in the history
Reduces stack usage and avoids an extra copy

PUBLISHED_FROM=d4a0fcbabf60c7e687a4d136c9a0595727d27592
  • Loading branch information
rojer authored and cesantabot committed Mar 5, 2021
1 parent c2ff96a commit ba4b8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cdefs:
MG_MAX_DNS_ANSWERS: 16
MG_MAX_DNS_QUESTIONS: 16
MG_MAX_HTTP_REQUEST_SIZE: 3072
MG_MAX_HTTP_SEND_MBUF: 256
MG_MAX_HTTP_SEND_MBUF: 1460
MG_MAX_PATH: 256
MG_SSL_IF_MBEDTLS_FREE_CERTS: 1
# Disabled for now because of fragmented handshake issue.
Expand Down

0 comments on commit ba4b8ac

Please sign in to comment.