Added keep alive header (#266)
This commit is contained in:
Родитель
dc48ab9f37
Коммит
7123456464
|
@ -267,6 +267,8 @@ public class ClientImpl implements Client, StreamingClient {
|
||||||
}
|
}
|
||||||
headers.put("x-ms-client-request-id", clientRequestId);
|
headers.put("x-ms-client-request-id", clientRequestId);
|
||||||
|
|
||||||
|
headers.put("Connection", "Keep-Alive");
|
||||||
|
|
||||||
UUID activityId = UUID.randomUUID();
|
UUID activityId = UUID.randomUUID();
|
||||||
String activityContext = String.format("%s%s/%s, ActivityId=%s, ParentId=%s, ClientRequestId=%s", JAVA_INGEST_ACTIVITY_TYPE_PREFIX, activityTypeSuffix,
|
String activityContext = String.format("%s%s/%s, ActivityId=%s, ParentId=%s, ClientRequestId=%s", JAVA_INGEST_ACTIVITY_TYPE_PREFIX, activityTypeSuffix,
|
||||||
activityId, activityId, activityId, clientRequestId);
|
activityId, activityId, activityId, clientRequestId);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче