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

贡献者指南