1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2026-10-23 10:09:02 +03:00

208 Commits

Author SHA1 Message Date
Mattia Pennasilico
2c3b8af736 Release 0.6.2 0.6.2 2026-09-24 11:07:46 +02:00
Mattia Pennasilico
d9d40d9e1f Merge pull request #202 from pennam/websocket-write-fix
Fix typo in WebSocketClient::write buffer size clamp
2026-07-28 10:37:04 +02:00
Mattia Pennasilico
e4c3165404 Merge pull request #203 from pennam/websocket-parse-fix
WebSocketClient: check extended length/mask bytes are available
2026-07-28 10:36:46 +02:00
pennam
d0a7577757 WebSocketClient: check extended length/mask bytes are available
Only 2 header bytes were guaranteed before reading the extended length and
mask, so a partial header made read() return -1 and corrupt iRxSize. Bail
out until all header bytes have arrived.
2026-07-13 15:53:16 +02:00
pennam
532b516b73 WebSocketClient: simplify RX size branching
Default iRxSize to the inline length and only override it for the 126/127
extended-length cases. No behavioural change.
2026-07-13 15:53:16 +02:00
pennam
eed84b6cd6 WebSocketClient: fix undefined read order in frame length
Multiple read() calls in one expression have unspecified evaluation order
in C++, so the length bytes could be combined wrong. Read each byte into
its own variable before combining them.
2026-07-13 15:53:16 +02:00
pennam
af935ce9df Fix typo in WebSocketClient::write buffer size clamp
Use sizeof(iTxBuffer) instead of sizeof(iTxSize) when computing the
remaining space, preventing truncated writes and potential memcpy overflow.
2026-07-13 12:34:35 +02:00
Per Tillisch
d3de6c8bfe Merge pull request #200 from arduino-libraries/dependabot/github_actions/arduino/arduino-lint-action-3
Bump arduino/arduino-lint-action from 2 to 3
2026-07-02 11:23:52 -07:00
dependabot[bot]
d4274ebb56 Bump arduino/arduino-lint-action from 2 to 3
Bumps [arduino/arduino-lint-action](https://github.com/arduino/arduino-lint-action) from 2 to 3.
- [Release notes](https://github.com/arduino/arduino-lint-action/releases)
- [Commits](https://github.com/arduino/arduino-lint-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: arduino/arduino-lint-action
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 17:12:17 +00:00
Per Tillisch
bc467cee5d Merge pull request #199 from arduino-libraries/dependabot/github_actions/actions/checkout-7
Bump actions/checkout from 6 to 7
2026-06-18 14:05:21 -07:00
dependabot[bot]
d964f58c54 Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-18 17:12:22 +00:00
Per Tillisch
3596631270 Merge pull request #198 from arduino-libraries/dependabot/github_actions/geekyeggo/delete-artifact-6
Bump geekyeggo/delete-artifact from 5 to 6
2026-03-16 11:17:41 -07:00
dependabot[bot]
35b468e544 Bump geekyeggo/delete-artifact from 5 to 6
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 5 to 6.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-16 17:54:23 +00:00
Per Tillisch
d9d330708b Merge pull request #196 from arduino-libraries/dependabot/github_actions/actions/upload-artifact-7
Bump actions/upload-artifact from 6 to 7
2026-02-27 17:07:22 -08:00
Per Tillisch
a72d0cf112 Merge pull request #197 from arduino-libraries/dependabot/github_actions/actions/download-artifact-8
Bump actions/download-artifact from 7 to 8
2026-02-27 17:06:51 -08:00
dependabot[bot]
ac237da104 Bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 17:12:27 +00:00
dependabot[bot]
a7b582b195 Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 17:12:23 +00:00
Per Tillisch
83514bf54d Merge pull request #194 from arduino-libraries/dependabot/github_actions/actions/download-artifact-7
Bump actions/download-artifact from 6 to 7
2025-12-15 11:42:59 -08:00
Per Tillisch
c7e7156026 Merge pull request #193 from arduino-libraries/dependabot/github_actions/actions/upload-artifact-6
Bump actions/upload-artifact from 5 to 6
2025-12-15 11:42:27 -08:00
dependabot[bot]
e9b2396269 Bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 17:01:25 +00:00
dependabot[bot]
0a14d352e4 Bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 17:01:22 +00:00
Per Tillisch
4f27e2468a Merge pull request #192 from arduino-libraries/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2025-11-20 15:40:00 -08:00
dependabot[bot]
9d3efbf1ec Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 17:01:26 +00:00
Per Tillisch
1208ae3487 Merge pull request #191 from arduino-libraries/dependabot/github_actions/actions/upload-artifact-5
Bump actions/upload-artifact from 4 to 5
2025-10-27 11:14:32 -07:00
dependabot[bot]
a8c9a38e50 Bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 18:05:16 +00:00
Per Tillisch
ee8888d279 Merge pull request #190 from arduino-libraries/dependabot/github_actions/actions/download-artifact-6
Bump actions/download-artifact from 5 to 6
2025-10-27 10:57:17 -07:00
dependabot[bot]
dfeb94a8a9 Bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 17:30:31 +00:00
Per Tillisch
f98b9d00c6 Merge pull request #187 from arduino-libraries/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-11 19:07:12 -07:00
dependabot[bot]
cb012cff2f Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 01:24:38 +00:00
Per Tillisch
a9c7cdde5c Merge pull request #186 from arduino-libraries/dependabot/github_actions/actions/download-artifact-5
Bump actions/download-artifact from 4 to 5
2025-08-11 00:47:26 -07:00
dependabot[bot]
c2bc6130bb Bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 17:24:16 +00:00
Per Tillisch
566b6e1be2 Merge pull request #185 from per1234/license-file
Add dedicated license file
2025-05-09 02:40:09 -07:00
per1234
53816d0370 Add dedicated license file
Standardization in license documentation is important because, in addition to making it easy for humans to find this
vital information, it allows machines to automate the process of license type determination, which is useful both for
discovering suitable open source projects as well as checking open source license compliance.

Previously, the open source license of this project was not documented in a dedicated license file. Due to this, even
though the project is licensed under a standardized open source license, the open license type could not be identified
with 100% confidence by machines (e.g., the Licensee Gem used by the GitHub website), which meant identification could
only be made by a human carefully evaluating the license text.

The project's license is hereby documented in a standardized license file. The result is that the project's open source
license type can now be automatically identified. This does not result in any change to the project licensing.
2025-05-09 02:38:38 -07:00
per1234
8b76ac2c31 Merge pull request #181 from arduino-libraries/dependabot/github_actions/arduino/arduino-lint-action-2
Bump arduino/arduino-lint-action from 1 to 2
2024-10-08 18:20:06 -07:00
dependabot[bot]
54627fcb18 Bump arduino/arduino-lint-action from 1 to 2
Bumps [arduino/arduino-lint-action](https://github.com/arduino/arduino-lint-action) from 1 to 2.
- [Release notes](https://github.com/arduino/arduino-lint-action/releases)
- [Commits](https://github.com/arduino/arduino-lint-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: arduino/arduino-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 17:20:59 +00:00
Martino Facchin
657e2b08d9 Release 0.6.1 0.6.1 2024-07-25 12:04:37 +02:00
Martino Facchin
25f54e952e Merge pull request #176 from arduino-libraries/iContentLength_wraparound
Make sure iContentLength doesn't wrap around due to malformed packets
2024-07-25 12:03:49 +02:00
Martino Facchin
1a3fb989a5 Make sure iContentLength doesn't wrap around due to malformed packets 2024-05-08 17:25:48 +02:00
Andrea Gilardoni
6f2659de4c Release v0.6.0 0.6.0 2024-03-26 10:25:16 +01:00
Andrea Gilardoni
0ec8824e58 Merge pull request #152 from tim-vandecasteele/tim-websocket-initialisation
Make sure to use HttpClient when upgrading the connection for websockets
2024-03-25 09:27:57 +01:00
Andrea Gilardoni
9ddfad1977 Merge pull request #161 from kodav/Add-443-port-for-HTTPS-requests
Add 443 port for https requests
2024-03-22 12:37:53 +01:00
Andrea Gilardoni
606a567ca4 Merge pull request #125 from carbotaniuman/patch-1
Reduce timeout from 1000ms to 100ms
2024-03-22 09:39:33 +01:00
Andrea Gilardoni
9d6adef048 Merge pull request #90 from Park0/master
ContentLength can go over 2 byte int
2024-03-22 09:34:37 +01:00
Andrea Gilardoni
397e6a1010 Merge pull request #124 from paclema/define_ws_tx_buffer_size
Added configurable WebSocket tx buffer size
2024-03-21 17:24:04 +01:00
Andrea Gilardoni
5c5fafb4e8 Merge pull request #158 from AnCaPepe/AnCaPepe-custom-wait-delay
Add ability to set response wait time
2024-03-21 15:50:51 +01:00
Andrea Gilardoni
2143747e7d Merge pull request #173 from andreagilardoni/url-parser
Added Url parser
2024-03-21 14:47:58 +01:00
dependabot[bot]
9101851c3b Bump geekyeggo/delete-artifact from 4 to 5 (#175)
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 4 to 5.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 14:48:22 +01:00
Andrea Gilardoni
9ea6ace0d0 moving http_parser from utility to utility/URLParser 2024-03-14 15:05:34 +01:00
Andrea Gilardoni
482e088f93 added README for imported library 2024-03-14 14:42:40 +01:00
Andrea Gilardoni
734f5b58a9 fixing codespell ci for imported url lib 2024-03-13 10:50:33 +01:00