Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0ec8824

Browse filesBrowse files
Merge pull request arduino-libraries#152 from tim-vandecasteele/tim-websocket-initialisation
Make sure to use HttpClient when upgrading the connection for websockets
2 parents 9ddfad1 + 8566fb4 commit 0ec8824
Copy full SHA for 0ec8824

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/HttpClient.cpp

Copy file name to clipboardExpand all lines: src/HttpClient.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ int HttpClient::responseStatusCode()
422422
{
423423
if (available())
424424
{
425-
c = read();
425+
c = HttpClient::read();
426426
if (c != -1)
427427
{
428428
switch(iState)
@@ -763,7 +763,7 @@ int HttpClient::read(uint8_t *buf, size_t size)
763763

764764
int HttpClient::readHeader()
765765
{
766-
char c = read();
766+
char c = HttpClient::read();
767767

768768
if (endOfHeadersReached())
769769
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.