up
This commit is contained in:
@@ -347,6 +347,7 @@ func TransRsp(c *gin.Context, isStream bool, reader *bufio.Reader) {
|
||||
case data := <-dataChan:
|
||||
if data != "" {
|
||||
c.Writer.WriteString("data: " + data)
|
||||
c.Writer.WriteString("\n\n")
|
||||
c.Writer.Flush()
|
||||
}
|
||||
case <-stopChan:
|
||||
|
||||
Reference in New Issue
Block a user