Browse code

http_client Update TODO.txt with new ideas for coming release

Open invitation to anyone who wants to contribute. I think a major one is the "mirror list"
of httpcon objects in pkg - per process - memory for tracking status and keeping connections
open. This would be very beneficial both for speed and functionality.

Olle E. Johansson authored on 30/03/2016 19:06:32
Showing 1 changed files
... ...
@@ -5,13 +5,14 @@ The http_client module - todo
5 5
 	read=line/all		- Implemented in API, but not in parameter
6 6
 	tlsverify=on/off
7 7
 	failover=httpcon	Other httpcon that can be used for failover in case of 5xx response or timeout
8
+				not implemented
8 9
 
9 10
 
10 11
 - Add XAVP parameter setting before running curl_connect
11 12
 
12 13
 - save fingerprint of cert for trust-on-first-use procedure
13 14
 
14
-- status for httpcon-object, needs to be object in process memory, so child_init
15
+- connection and last status for httpcon-object, needs to be object in process memory, so child_init
15 16
 	- if 5xx response or timeout set flag
16 17
 	- function in dialplan - httpcon_exists(object)
17 18
 	- pv $curlstatus(object) ??
... ...
@@ -21,6 +22,12 @@ The http_client module - todo
21 22
 - Figure out a way to communicate back the content-type of the response. Another pvar arg?
22 23
 	- This is per process!
23 24
 
25
+- Reload of configuration file from RPC interface
26
+	- Need to close connections (if we have open ones according to idea above)
27
+	- Need to rebuild core httpcon objects and "mirrors" in pkg memory
28
+	- Can we add a lock to the connection list while switching if we load a new
29
+          list, then switch active list and then free the old ones
30
+
24 31
 - rpc
25 32
 	curl.listcon	list all connection objects with properties
26 33
 			-- Done, but not documented
... ...
@@ -36,6 +43,7 @@ The http_client module - todo
36 43
 	curl.addcon	add connection object
37 44
 	curl.rmcon	remove connection object
38 45
 
46
+	Maybe RPC commands to change default settings for proxys
39 47
 
40 48
 - Async - event_route when done
41 49
 	(with and without suspending transaction)
... ...
@@ -51,3 +59,25 @@ The http_client module - todo
51 59
 
52 60
 - Make it possible to define modparams in any order. For now, httpcon definitions only use default
53 61
   values from modparam's defined on lines above in the config file. (issue #541)
62
+
63
+
64
+Issues in the bug tracker
65
+-------------------------
66
+- https://github.com/kamailio/kamailio/issues/542  - open
67
+  Support connection reuse. Needs private memory structures to track connections
68
+
69
+
70
+Solved issues
71
+--------------
72
+- https://github.com/kamailio/kamailio/issues/541 - closed
73
+  Support setting proxy 
74
+  Comitted another patch, which included default and per-connection proxy
75
+  settings. 
76
+- https://github.com/kamailio/kamailio/issues/515 - closed
77
+  Support various auth methods - digest, basic etc
78
+  Comitted another patch, which included default and per-connection settings
79
+- https://github.com/kamailio/kamailio/pull/481 - closed
80
+  Support TLS client certificates
81
+- https://github.com/kamailio/kamailio/pull/435 - closed
82
+  Pull request that fixed a lot of issues.
83
+