Extract HTTP server code from apps/ocsp.c to apps/lib/http_server.c
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 4 May 2020 18:29:25 +0000 (20:29 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 9 May 2020 14:57:08 +0000 (16:57 +0200)
commit582311d7b469b4f57a29e9c3965c4d1eb4b477d4
treebef9bd00199dfcae9a4a7a6c4b86b45fb5a9e24c
parentd8c78e5f4ac5c882ca878b9e9038896d5786aafa
Extract HTTP server code from apps/ocsp.c to apps/lib/http_server.c

Also adds apps/include/http_server.h.
This is used so far by apps/ocsp.c and is going to be used for apps/cmp.c
and will be helpful also for any future app acting as HTTP server.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11736)
apps/include/http_server.h [new file with mode: 0644]
apps/lib/build.info
apps/lib/http_server.c [new file with mode: 0644]
apps/ocsp.c