This website works better with JavaScript.
Home
Help
Sign In
narayana
/
go-xmpp
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Reset isSecure in StartTLS()
160-regression
rcorniere
3 years ago
parent
1e92089f96
commit
f1331dcebc
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
xmpp_transport.go
+ 1
- 0
xmpp_transport.go
View File
@ -93,6 +93,7 @@ func (t *XMPPTransport) StartTLS() error {
return
err
}
t
.
isSecure
=
false
t
.
conn
=
tlsConn
t
.
readWriter
=
newStreamLogger
(
tlsConn
,
t
.
logFile
)
t
.
decoder
=
xml
.
NewDecoder
(
bufio
.
NewReaderSize
(
t
.
readWriter
,
maxPacketSize
)
)
Write
Preview
Loading…
Cancel
Save