geoip: Fix update failing
commit50802193c013bf79411111cf393b3aafa5ad2dc5
authorVadim Kochan <vadim4j@gmail.com>
Thu, 29 Jan 2015 19:53:08 +0000 (29 21:53 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Fri, 30 Jan 2015 16:04:30 +0000 (30 17:04 +0100)
treea624d33af602e8a86757638c5ad32095e1ae845f
parent319840b83b70b49705928687dcbd40653709e305
geoip: Fix update failing

I have no enough arguments for this fix but it
fixes the failing of geoip updating.

Seems "shutdown(..)" closes socket too early.

So shutdown(...) is removed and added "Connection: close"
http header which says http server to close connection after
response will be sent.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip.c