@@ -965,7 +965,7 @@ def send_song_title(self, msg=None):
965
965
Content-Type: text/event-stream
966
966
Cache-Control: no-cache
967
967
Connection: keep-alive, Keep-Alive
968
- Keep-Alive: timeout=9000 , max=1000
968
+ Keep-Alive: timeout=1 , max=1000
969
969
Content-Length: {}
970
970
971
971
''' .format (len (b_msg ))
@@ -975,7 +975,7 @@ def send_song_title(self, msg=None):
975
975
Content-Type: text/event-stream; charset=UTF-8
976
976
Cache-Control: no-cache
977
977
Connection: keep-alive, Keep-Alive
978
- Keep-Alive: timeout=9000 , max=1000
978
+ Keep-Alive: timeout=1 , max=1000
979
979
Content-Length: {}
980
980
981
981
''' .format (len (b_msg )).encode ('utf-8' )
@@ -995,7 +995,7 @@ def _send_raw(self, msg):
995
995
txt = '''HTTP/1.1 200 OK
996
996
Content-Type: text/txt; charset=utf-8
997
997
Connection: keep-alive, Keep-Alive
998
- Keep-Alive: timeout=9000 , max=1000
998
+ Keep-Alive: timeout=1 , max=1000
999
999
Content-Length: {}
1000
1000
1001
1001
''' .format (len (b_msg ))
@@ -1004,7 +1004,7 @@ def _send_raw(self, msg):
1004
1004
txt = '''HTTP/1.1 200 OK
1005
1005
Content-Type: text/txt; charset=UTF-8
1006
1006
Connection: keep-alive, Keep-Alive
1007
- Keep-Alive: timeout=9000 , max=1000
1007
+ Keep-Alive: timeout=1 , max=1000
1008
1008
Content-Length: {}
1009
1009
1010
1010
''' .format (len (b_msg )).encode ('utf-8' )
@@ -1031,7 +1031,7 @@ def _send_text(self,
1031
1031
txt = '''HTTP/1.1 200 OK
1032
1032
Content-Type: text/txt; charset=UTF-8
1033
1033
Connection: keep-alive, Keep-Alive
1034
- Keep-Alive: timeout=9000 , max=1000
1034
+ Keep-Alive: timeout=1 , max=1000
1035
1035
Content-Length: {}
1036
1036
1037
1037
''' .format (len (b_msg ))
@@ -1040,7 +1040,7 @@ def _send_text(self,
1040
1040
txt = '''HTTP/1.1 200 OK
1041
1041
Content-Type: text/txt; charset=UTF-8
1042
1042
Connection: keep-alive, Keep-Alive
1043
- Keep-Alive: timeout=9000 , max=1000
1043
+ Keep-Alive: timeout=1 , max=1000
1044
1044
Content-Length: {}
1045
1045
1046
1046
''' .format (len (b_msg )).encode ('utf-8' )
@@ -1060,7 +1060,7 @@ def _send_html(self, msg=None, put_script=False):
1060
1060
txt = '''HTTP/1.1 200 OK
1061
1061
Content-Type: text/html; charset=UTF-8
1062
1062
Connection: keep-alive, Keep-Alive
1063
- Keep-Alive: timeout=9000 , max=1000
1063
+ Keep-Alive: timeout=1 , max=1000
1064
1064
Content-Length: {}
1065
1065
1066
1066
''' .format (len (b_msg ))
@@ -1069,7 +1069,7 @@ def _send_html(self, msg=None, put_script=False):
1069
1069
txt = '''HTTP/1.1 200 OK
1070
1070
Content-Type: text/html; charset=UTF-8
1071
1071
Connection: keep-alive, Keep-Alive
1072
- Keep-Alive: timeout=9000 , max=1000
1072
+ Keep-Alive: timeout=1 , max=1000
1073
1073
Content-Length: {}
1074
1074
1075
1075
''' .format (len (b_msg )).encode ('utf-8' )
0 commit comments