… | |
… | |
1119 | call and can be used or changed to your liking. Note that the handshake |
1119 | call and can be used or changed to your liking. Note that the handshake |
1120 | might have already started when this function returns. |
1120 | might have already started when this function returns. |
1121 | |
1121 | |
1122 | =cut |
1122 | =cut |
1123 | |
1123 | |
1124 | # TODO: maybe document... |
|
|
1125 | sub starttls { |
1124 | sub starttls { |
1126 | my ($self, $ssl, $ctx) = @_; |
1125 | my ($self, $ssl, $ctx) = @_; |
1127 | |
1126 | |
1128 | $self->stoptls; |
1127 | $self->stoptls; |
1129 | |
1128 | |