mirror of https://github.com/zlatinb/muwire
properly terminate headers
parent
ce787a6f99
commit
a584f16ce4
|
@ -43,6 +43,7 @@ class HeadSession {
|
|||
os.write("X-Persona: $meB64\r\n".getBytes(StandardCharsets.US_ASCII))
|
||||
SessionSupport.writeInteractionHeaders(os, browse, chat, feed, message)
|
||||
SessionSupport.writeXHave(os, pieces)
|
||||
os.write("\r\n".getBytes(StandardCharsets.US_ASCII))
|
||||
os.flush()
|
||||
|
||||
InputStream is = endpoint.getInputStream()
|
||||
|
|
Loading…
Reference in New Issue