Skip to content

Commit b939714

Browse files
rluboskartben
authored andcommitted
doc: migration-guide-4.2: Add note about HTTP client response cb
Add entry about change in HTTP response callback function signature. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
1 parent 00d214c commit b939714

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,12 @@ Networking
432432
| ``wifi packet_filter`` | | |
433433
+------------------------+---------------------+--------------------+
434434

435+
* The :c:type:`http_response_cb_t` HTTP client response callback signature has
436+
changed. The callback function now returns ``int`` instead of ``void``. This
437+
allows the application to abort the HTTP connection. Existing applications
438+
need to update their response callback implementations. To retain current
439+
behavior, simply return 0 from the callback.
440+
435441
OpenThread
436442
==========
437443

0 commit comments

Comments
 (0)