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