[Groonga-commit] groonga/grnci at b25a463 [master] Update the condition to reset the ready flag.

Back to archive index

Susumu Yata null+****@clear*****
Thu Jul 27 10:49:49 JST 2017


Susumu Yata	2017-07-27 10:49:49 +0900 (Thu, 27 Jul 2017)

  New Revision: b25a463185a22ca101fd361deedadce9ab0a3265
  https://github.com/groonga/grnci/commit/b25a463185a22ca101fd361deedadce9ab0a3265

  Message:
    Update the condition to reset the ready flag.

  Modified files:
    v2/gqtp.go

  Modified: v2/gqtp.go (+1 -1)
===================================================================
--- v2/gqtp.go    2017-07-27 10:38:58 +0900 (86b6769)
+++ v2/gqtp.go    2017-07-27 10:49:49 +0900 (da12b40)
@@ -130,7 +130,7 @@ func (r *gqtpResponse) Close() error {
 		})
 	}
 	r.closed = true
-	if err == nil {
+	if !r.conn.broken {
 		r.conn.ready = true
 	}
 	if r.conn.client != nil {
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index