You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Organize test files and directories to mirror code files and directory structure.
* Add withSocket utility method & AttributeKeys related to TTL (socketTimeout & estimatedSkew).
* Make socketTimeout to default to 60 seconds.
* Add codegen that saves socketTimeout from HttpClientConfiguration into middleware context.
* Add utility functions; one that calculates estimated skew from date string & one that calculates TTL by adding estimated skew and socket timeout to current time according to local machine clock.
* Make DeserializeMiddleware save estimated skew calculated from returned HTTP response's Date header value.
* Make RetryMiddleware add retry information headers as defined in SEP.
* Fix dateFormatter in getTTL utility method to take raw date and convert to string without any adjustments.
* Add tests for the 2 utility methods getTTL & getEstimatedSkew. Augment existing RetryIntegrationTests to check retry information headers in inputs.
* Update codegen test to include socketTimeout addition.
* Add dummy values needed for context used by retry middleware tests.
* Change a couple XCTAssert to XCTAssertEqual for better log message.
* Make socketTimeout non-optional given default value is being set now.
* Log .info level message then proceed with default values instead of throwing an error.
* Fix socket timeout related errors.
* Fix syntax error.
---------
Co-authored-by: Sichan Yoo <[email protected]>
0 commit comments