httping: import from oldpackages and upgrade to version 2.5

Package version upgraded to 2.5 with patches:
- Fixed compiler warnings
- Fixed miscalculated response time
- Reduced binary size by stripping unused code

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
This commit is contained in:
Marcin Jurkowski
2017-07-25 20:46:35 +02:00
parent df1f3a41c8
commit aef80dbb9d
5 changed files with 504 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- a/http.c
+++ b/http.c
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <stdlib.h>
#ifndef NO_SSL
#include <openssl/ssl.h>
#include "mssl.h"