Skip to content

Commit 408155a

Browse files
committed
additional space for contentlen
1 parent 084aaad commit 408155a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/espurna/libs/Http.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ class AsyncHttp {
233233
strlen_P(HTTP_REQUEST_TEMPLATE)
234234
+ http->method.length()
235235
+ http->host.length()
236-
+ http->path.length();
236+
+ http->path.length()
237+
+ 32;
237238
std::unique_ptr<char[]> headers(new (std::nothrow) char[headers_len + 1]);
238239

239240
if (!headers) {

0 commit comments

Comments
 (0)