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

贡献者指南