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>
This commit is contained in:
Robert Lubos 2025-05-21 15:46:06 +02:00 committed by Benjamin Cabé
commit b939714204

View file

@ -432,6 +432,12 @@ Networking
| ``wifi packet_filter`` | | | | ``wifi packet_filter`` | | |
+------------------------+---------------------+--------------------+ +------------------------+---------------------+--------------------+
* The :c:type:`http_response_cb_t` HTTP client response callback signature has
changed. The callback function now returns ``int`` instead of ``void``. This
allows the application to abort the HTTP connection. Existing applications
need to update their response callback implementations. To retain current
behavior, simply return 0 from the callback.
OpenThread OpenThread
========== ==========