Mathieu Barnachon
Mathieu Barnachon
Are you compiling with NIO on for Kitura? Like `KITURA_NIO swift run`
I'm usually using POSTMAN. Let me try to reproduce your setup to see if I get the same behaviour.
When settings `Connection: close` on Postman, as suggested by the Postman thread, it still doesn't work. The fact that curl is re-using the connection means they are not close, right?...
I think you can have the logging behaviour with the `ServerDelegate`. A pseudo-code like that could work: ```swift class RequestLogger: ServerDelegate { let router: Router init(_ router: Router) { self.router...
@julasamer Thanks for the report. Could you try if the PR #1531 is fixing your issue?
I will write the tests now. I think it makes sense to have both in-place, as it is too easy to break something. By the way, in the PR, I've...
It looks like a good idea indeed. I like the initial syntax until I had to change so many functions... I will give it a try and get back here,...
@dannys42 I'm working with the following ideas: - use a dedicated function, like mentioned above; - call it `reset` to be more generic. Then, I'm wondering if this function should...
@dannys42 A idea of it could be find in #1552
Hi @teaglin, what you need is: `ServerOptions`: https://ibm-swift.github.io/Kitura-NIO/Structs/ServerOptions.html for NIO-based or https://github.com/IBM-Swift/Kitura-net/blob/master/Sources/KituraNet/ServerOptions.swift (cannot find it in the API documentation indeed). The idea is to create a struct that handle the...