File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 110
110
if (!sock -> net .host_info || !GET_FLAG (sock -> flags , RRF_DONE )) return R_NONE ;
111
111
if (sock -> error ) {
112
112
OS_DO_DEVICE (sock , RDC_CLOSE );
113
- Trap_Port (RE_READ_ERROR , port , sock -> error );
113
+ return R_NONE ;
114
+ //Trap_Port(RE_READ_ERROR, port, sock->error);
114
115
}
115
116
if (GET_FLAG (sock -> modes , RST_REVERSE )) {
116
117
Set_String (D_RET , Copy_Bytes (sock -> data , LEN_BYTES (sock -> data )));
Original file line number Diff line number Diff line change @@ -698,6 +698,10 @@ if all [
698
698
--test-- "query dns://"
699
699
;@@ https://github.com/Oldes/rebol-issues/issues/1826
700
700
--assert all [error? e: try [query dns:// ] e/id = 'no-port-action]
701
+
702
+ --test-- "read dns://not-exists"
703
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/2498
704
+ --assert none? try [read dns://not-exists ]
701
705
===end-group===
702
706
703
707
You can’t perform that action at this time.
0 commit comments