closeContext sends the response to the client
()
| 123 | |
| 124 | // closeContext sends the response to the client |
| 125 | func (fc *frankenPHPContext) closeContext() { |
| 126 | if fc.isDone { |
| 127 | return |
| 128 | } |
| 129 | |
| 130 | close(fc.done) |
| 131 | fc.isDone = true |
| 132 | } |
| 133 | |
| 134 | // validate checks if the request should be outright rejected |
| 135 | func (fc *frankenPHPContext) validate() error { |
no outgoing calls
no test coverage detected