swagger-api/swagger-codegen

[swift] keep-alive not working

開放

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

 (9 則留言) (0 個反應) (0 位負責人)HTML (5,474 個分叉)batch import
Client: SwiftIssue: Bughelp wanted

倉庫指標

星標
 (12,701 顆星)
PR 合併指標
 (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

貢獻者指南