fix BOSH connection with ejabberd. Fixes #5401
This commit is contained in:
parent
2061dd2118
commit
697d2a7324
|
@ -707,7 +707,7 @@ class NonBlockingHTTP(NonBlockingTCP):
|
|||
headers.append('Connection: Keep-Alive')
|
||||
headers.append('\r\n')
|
||||
headers = '\r\n'.join(headers)
|
||||
return('%s%s\r\n' % (headers, httpbody))
|
||||
return('%s%s' % (headers, httpbody))
|
||||
|
||||
def parse_http_message(self, message):
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue