wiki.techinc.nl/includes/http
Piotr Miazga 1981e704c7 http: fix JobRunner overriding requestId with null
After deploying T320559 we found out that JobRunner sometimes calls
the WebRequest::overrideRequestId() with a null. This caused the
TelemetryService to fail due to $newId not being a string.

As a solution there is a new method called regenerateRequestId()
that will handle the regeneration as it's recommended to keep the
overrideRequestId() strict.

Bug: T343893
Change-Id: I3e6daa238fd8de0d9ea88660b8ba32b922b1323d
2023-08-09 18:13:58 +02:00
..
GuzzleHttpRequest.php http: Log GuzzleHttpRequest requests 2023-02-08 17:34:33 +00:00
HttpRequestFactory.php http: Propagate tracestate and traceparent headers 2023-08-07 21:04:19 +00:00
MWCallbackStream.php MWCallbackStream: Add explicit $stream property 2022-12-27 17:03:25 +00:00
MWHttpRequest.php http: Propagate tracestate and traceparent headers 2023-08-07 21:04:19 +00:00
MwHttpRequestToResponseInterfaceAdapter.php http: Fix return types in MwHttpRequestToResponseInterfaceAdapter 2022-02-26 09:07:55 +01:00
Telemetry.php http: fix JobRunner overriding requestId with null 2023-08-09 18:13:58 +02:00