# HG changeset patch # User Chris Jones # Date 1327038069 25200 # Node ID a264cb0129e2b03509ed9e03e9ddd4ccd2a7c845 # Parent 7ce2432dd66a486dac354648c2c51a85852ffc71 Added another SHOULD comment. diff -r 7ce2432dd66a -r a264cb0129e2 stream.go --- a/stream.go Thu Jan 19 22:18:58 2012 -0700 +++ b/stream.go Thu Jan 19 22:41:09 2012 -0700 @@ -37,6 +37,9 @@ // BUG(cjyar): There's no way to specify xml:lang for the top-level // element as the default language for this client. +// BUG(cjyar): We SHOULD send a text declaration before the "open +// stream" element. + // Generate the "open stream" element which tells the remote we want // to speak XMPP. This is actually done 3 times, since we renegotiate // our transport layer with TLS and then with SASL.