Closed tim-vandecasteele closed 5 months ago
Memory usage change @ 8566fb4cc0098ef2c91f080f5eb877eefa0e23b6
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:samd:mkr1000 |
:green_heart: -8 - 0 | -0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
Hi @per1234 are you still maintaining this project? If so, let me know if there's anything else required, if not, do you prefer that people fork this, or is there a process to find a new maintainer?
Hi @tim-vandecasteele. Thanks for your pull request!
My role in this project is janitorial. I try to help keep the issue tracker tidy and maintain the infrastructure, but am not in a role to decide on changes to the codebase.
One of the other maintainers will need to take care of the review and merging of this pull request.
Hi, sorry, I was too quick drawing conclusions from the dependabot merges. Any idea who would be a maintainer for this project then? Looking through the commits there weren't a lot of merges other than these updates in this project.
Sorry to bring these questions to you, not really clear who else should be addressed 😅
Hi @tim-vandecasteele, I would also add HttpClient::
on this line https://github.com/arduino-libraries/ArduinoHttpClient/blob/5c5fafb4e8b279b0041d039b8cb5571ffdf624f2/src/HttpClient.cpp#L140 As far as I am aware I cannot suggest a change on that line. I don't see these changes harmful for the repository, I will try them and merge this PR. Thanks for your work!
disclaimer: I'm a bit puzzled by this problem, as everyone should have this problem but then people would have a lot of problems with websockets
Context: I'm using websockets over https, using
WiFiClientSecure
Using WebSocketClient::begin I got into problems where
status = responseStatusCode();
would be trying to read the HTTP header, but because both HttpClient and WebSocketClient have a read function, the read from WebSocketClient was used, which returns a bunch of gibberish bytes. This caused the WebSocket to think that the connection was not successfully upgraded, whereas in reality the webserver gave a proper response.this basically gave
ret = -4
, becauseresponseStatusCode
couldn't find the HTTP header.Let me know what the structure is to get things merged, or what adaptations are required.
(I tested this on a simple esp32 board)