Browse Source

Fix a bug which crashed the client when replaying requests

Alan Shreve 12 years ago
parent
commit
c5b7e331da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ngrok/client/views/web/http.go

+ 1 - 1
src/ngrok/client/views/web/http.go

@@ -230,7 +230,7 @@ func (h *WebHttpView) register() {
 		r.ParseForm()
 		txnid := r.Form.Get("txnid")
 		if txn, ok := h.idToTxn[txnid]; ok {
-			bodyBytes, err := httputil.DumpRequestOut(txn.HttpTxn.Req.Request, true)
+			bodyBytes, err := httputil.DumpRequest(txn.HttpTxn.Req.Request, true)
 			if err != nil {
 				panic(err)
 			}