viperproject / viperserver

HTTP server that manages verification requests to different tools from the Viper tool stack.
Other
10 stars 17 forks source link

Fixes Cache Initialization for HTTP Server #112

Closed ArquintL closed 1 year ago

ArquintL commented 1 year ago

ViperHttpServer did not call start() on ViperCoreServer and instead directly called start(active_jobs) on VerificationServer. This resulted in an uninitialized cache and thus in an exception whenever ViperServer tries to store a verification result in the cache after a verification. This PR fixes #111 by making ViperHttpServer call ViperCoreServer.start() and slightly changing the inheritance such that VerificationServerHttp can still configure the server startup (i.e. to bind the HTTP server).

ArquintL commented 1 year ago

bors merge

bors[bot] commented 1 year ago

Build succeeded: