Closed
Description
Firebase Functions incorrectly implements call timeouts. This was originally raised in #212 but was never correctly fixed.
OkHttp provides four different kinds of timeouts: connect, read, write, and call. Functions only configures the call timeout. The default connect, read, and write timeouts are still enforced, meaning the server must respond within 10 seconds. The default Functions timeout of 70 seconds, or any user provided timeout, are essentially ignored.
This can be seen from this test run: https://storage.cloud.google.com/android-ci/pr-logs/pull/firebase_firebase-android-sdk/578/new-smoke-tests/1149370348362272769/artifacts/walleye-26-en-portrait/test_cases/0006_logcat