File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
REBOL [
2
- Title: "REBOL3 TLSv1.2 protocol scheme"
2
+ Title: "Rebol3 TLSv1.2 protocol scheme"
3
3
Name: tls
4
4
Type: module
5
5
Rights: {
@@ -13,6 +13,7 @@ REBOL [
13
13
}
14
14
Author: ["Richard 'Cyphre' Smolak" "Oldes" "Brian Dickens (Hostilefork)" ]
15
15
Version: 0.8.0
16
+ Date: 5-Feb-2022
16
17
history: [
17
18
0.6.1 "Cyphre" "Initial implementation used in old R3-alpha"
18
19
0.7.0 "Oldes" {
@@ -1651,14 +1652,11 @@ TLS-parse-handshake-message: function [
1651
1652
]
1652
1653
1653
1654
send-event : function [
1654
- type [word! ]
1655
- port [port! ]
1655
+ event [word! ]
1656
+ target [port! ]
1656
1657
] [
1657
- log-debug ["Send-event:^[ [1m" type]
1658
- insert system/ports/system make event! compose [
1659
- type: (to lit-word! type)
1660
- port: (port)
1661
- ]
1658
+ log-debug ["Send-event:^[ [1m" event]
1659
+ insert system/ports/system make event! [ type: event port: target ]
1662
1660
]
1663
1661
1664
1662
TLS-awake : function [ event [event! ]] [
@@ -1728,6 +1726,7 @@ TLS-awake: function [event [event!]][
1728
1726
read [
1729
1727
error: try [
1730
1728
log-info ["READ TCP" length? TCP-port/data "bytes proto-state:" TLS-port/state/protocol ]
1729
+ ;@@ This part deserves a serious review!
1731
1730
;dump/fmt TCP-port/data
1732
1731
complete?: TLS-read-data TLS-port/state TCP-port/data
1733
1732
;? port
You can’t perform that action at this time.
0 commit comments