File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ import { clearTimeout as webClearTimeout } from "ext:deno_web/02_timers.js";
66
66
import { resourceForReadableStream } from "ext:deno_web/06_streams.js" ;
67
67
import { TcpConn } from "ext:deno_net/01_net.js" ;
68
68
69
+ const { internalRidSymbol } = core ;
70
+
69
71
enum STATUS_CODES {
70
72
/** RFC 7231, 6.2.1 */
71
73
Continue = 100 ,
@@ -617,7 +619,7 @@ class ClientRequest extends OutgoingMessage {
617
619
this . method ,
618
620
url ,
619
621
headers ,
620
- client . rid ,
622
+ client [ internalRidSymbol ] ,
621
623
this . _bodyWriteRid ,
622
624
) ;
623
625
}
@@ -803,7 +805,7 @@ class ClientRequest extends OutgoingMessage {
803
805
}
804
806
this . destroyed = true ;
805
807
806
- const rid = this . _client ?. rid ;
808
+ const rid = this . _client ?. [ internalRidSymbol ] ;
807
809
if ( rid ) {
808
810
core . tryClose ( rid ) ;
809
811
}
You can’t perform that action at this time.
0 commit comments