Browse Source

[bug] fix tcp http header version

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei 1 year ago
parent
commit
4bb31b0af4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/assets/js/model/xray.js

+ 1 - 0
web/assets/js/model/xray.js

@@ -235,6 +235,7 @@ TcpStreamSettings.TcpRequest = class extends XrayCommonClass {
 
     toJson() {
         return {
+            version: this.version,
             method: this.method,
             path: ObjectUtil.clone(this.path),
             headers: XrayCommonClass.toV2Headers(this.headers),