最终关闭
()
| 1271 | |
| 1272 | // 最终关闭 |
| 1273 | func (this *HTTPWriter) finishRequest() { |
| 1274 | if this.writer != nil { |
| 1275 | _ = this.writer.Close() |
| 1276 | } |
| 1277 | |
| 1278 | if this.rawReader != nil { |
| 1279 | _ = this.rawReader.Close() |
| 1280 | } |
| 1281 | } |
| 1282 | |
| 1283 | // 计算Header长度 |
| 1284 | func (this *HTTPWriter) calculateHeaderLength() (result int) { |