launchdarkly / ios-client-sdk

LaunchDarkly Client-side SDK for iOS (Swift and Obj-C)
https://docs.launchdarkly.com/sdk/client-side/ios
Other
68 stars 82 forks source link

Status stays receiving response body, never completes. #389

Closed keyvanygh closed 1 month ago

keyvanygh commented 1 month ago

Describe the bug Our Analytics tools showing 99% failure on launchdarkly http requests, which is the result of the request not completing, they are then closed with error when the app is removed from memory.

Screenshot 2024-05-30 at 3 14 51 AM

is it safe to ignore this? is this an expected behavior?

To reproduce no steps.

Expected behavior api call change status to complete.

Library version 9.1.1

tanderson-ld commented 1 month ago

Hello @keyvanygh , this is expected. When in streaming mode which is the default, the SDK uses Server Sent Events for streaming flag changes to the SDK which under ideal conditions are long lived responses.