swagger-api/swagger-codegen

[swift] keep-alive not working

Ouverte

#4 333 ouverte le 7 déc. 2016

 (9 commentaires) (0 réaction) (0 personne assignée)HTML (5 474 forks)batch import
Client: SwiftIssue: Bughelp wanted

Métriques du dépôt

Stars
 (12 701 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur