I was migrating an HTTP Server to FlyingFox and I encountered a client side error "Socket write failed". I spent some time to discover this line:
|
if !request.shouldKeepAlive { |
The client app didn't send the "keepalive" header in requests. I think it would be great to mention "keepalive" in readme.
Thank you for this great lightweight server :)
I was migrating an HTTP Server to FlyingFox and I encountered a client side error "Socket write failed". I spent some time to discover this line:
FlyingFox/FlyingFox/Sources/HTTPConnection.swift
Line 122 in ed86fc6
The client app didn't send the "keepalive" header in requests. I think it would be great to mention "keepalive" in readme.
Thank you for this great lightweight server :)