Commits

Alessio Deiana committed 44647d8

Fixes a memory leak caused by cycles

I forgot some references in the previous commit

Comments (0)

Files changed (1)

src/invenio_devserver/webserver.py

                     self_proxy.close_connection = True
                     self_proxy.send_header('Connection', 'close')
                 if 'server' not in header_keys:
-                    self_proxy.send_header('Server', self.version_string())
+                    self_proxy.send_header('Server', self_proxy.version_string())
                 if 'date' not in header_keys:
-                    self_proxy.send_header('Date', self.date_time_string())
+                    self_proxy.send_header('Date', self_proxy.date_time_string())
                 self_proxy.end_headers()
 
             assert type(data) is str, 'applications must write bytes'