swagger-api/swagger-codegen

[swift] keep-alive not working

Open

#4,333 建立於 2016年12月7日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)HTML (5,474 fork)batch import
Client: SwiftIssue: Bughelp wanted

倉庫指標

Star
 (12,701 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Description

It looks like the way the Alamofire is implemented we loosing all of the keep-alive sessions because every request has it's own manager. Is there is a way to have keep-alive enabled that would greatly reduce latency on SSL connections. The code in question is this one https://github.com/swagger-api/swagger-codegen/blob/master/samples/client/petstore/swift/default/PetstoreClient/Classes/Swaggers/AlamofireImplementations.swift#L53

貢獻者指南