You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**WARNING: The `valueMap` API is a bad design choice and is going to change in the future.**
82
82
83
-
##Listening for connections
83
+
##Listening for connections
84
84
85
85
When a FastCGI service is started, the stdin descriptor (fd 0) [is replaced by a bound socket](https://fast-cgi.github.io/spec#accepting-transport-connections). The service application can then start listening on that socket and accept connections.
86
86
@@ -120,7 +120,7 @@ Authorizer requests may have no url. Response objects for the authorizer role co
120
120
121
121
Filter requests have an additional data stream exposed by the `dataStream` property of [the socket object](#the-socket-object) (`req.socket.dataStream`).
122
122
123
-
##The socket object
123
+
##The socket object
124
124
125
125
The socket object exposed in requests and responses implements the `stream.Duplex` interface. It exposes the FastCGI stdin stream (request body)
126
126
and translates writes to stdout FastCGI records.
@@ -131,7 +131,7 @@ The socket object exposes three additional properties:
131
131
-`dataStream` implements `stream.Readable`, exposes the FastCGI data stream for the filter role.
132
132
-`errorStream` implements `stream.Writable`, translates writes to stderr FastCGI Records.
133
133
134
-
##http module compatibility
134
+
##http module compatibility
135
135
136
136
The API is almost compatible with the http module from node v0.12 all the way to v6.x (the current series). Only the server API is implemented.
137
137
@@ -144,7 +144,7 @@ Differences:
144
144
-`req.trailers` will always be empty: CGI scripts never receive trailers
145
145
-`res.writeContinue()` works as expected but should not be used. See first item
0 commit comments