[OpenSIPS-Devel] [OpenSIPS/opensips] 105bc2: mi core api: improve request parsing code
Vlad Patrascu
vladp at opensips.org
Thu Oct 25 09:17:26 EDT 2018
Branch: refs/heads/mi_rework
Home: https://github.com/OpenSIPS/opensips
Commit: 105bc274fafc4c482217080930f31b03b8525af5
https://github.com/OpenSIPS/opensips/commit/105bc274fafc4c482217080930f31b03b8525af5
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-15 (Mon, 15 Oct 2018)
Changed paths:
M mi/item.h
M mi/mi.c
M mi/mi.h
M mi/mi_trace.c
M mi/mi_trace.h
Log Message:
-----------
mi core api: improve request parsing code
* move jsonrpc request object validation to parse_mi_request()
* add function that retrieves MI command name
* also fix incorrect error in mi tracing when request has no params
Commit: 27e76f34c0a90f8f63ae2d8981499d7bc6a3ef7a
https://github.com/OpenSIPS/opensips/commit/27e76f34c0a90f8f63ae2d8981499d7bc6a3ef7a
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-15 (Mon, 15 Oct 2018)
Changed paths:
M mi/mi.c
M mi/mi.h
Log Message:
-----------
mi core api: do not lookup command in handle_mi_request()
Commit: 67fe0b5f89d1fcea9a57e03f439c02d17adadd88
https://github.com/OpenSIPS/opensips/commit/67fe0b5f89d1fcea9a57e03f439c02d17adadd88
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-16 (Tue, 16 Oct 2018)
Changed paths:
M mi/mi.c
M mi/mi.h
Log Message:
-----------
mi core api: use preallocated buffer for printing the response
Commit: 9dd860d2f03b46a3884acc90e4ac39bc31109714
https://github.com/OpenSIPS/opensips/commit/9dd860d2f03b46a3884acc90e4ac39bc31109714
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-16 (Tue, 16 Oct 2018)
Changed paths:
M mi/mi.c
M mi/mi.h
Log Message:
-----------
mi core api: improve handling of invalid request
Commit: 979603f6da2a77a2bb193b026894e5cdaa19a683
https://github.com/OpenSIPS/opensips/commit/979603f6da2a77a2bb193b026894e5cdaa19a683
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-19 (Fri, 19 Oct 2018)
Changed paths:
M ut.h
Log Message:
-----------
Add pkg null terminated strdup function
Commit: 168b1c17b64d521d728cc4907ecc5ed7affe469d
https://github.com/OpenSIPS/opensips/commit/168b1c17b64d521d728cc4907ecc5ed7affe469d
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-22 (Mon, 22 Oct 2018)
Changed paths:
M modules/httpd/httpd.c
Log Message:
-----------
httpd: port httpd_list_root_path MI command to the new jsonrpc API
Commit: f6408470d91ebe9514d9798c36dfe59d90a6c5ed
https://github.com/OpenSIPS/opensips/commit/f6408470d91ebe9514d9798c36dfe59d90a6c5ed
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-24 (Wed, 24 Oct 2018)
Changed paths:
M modules/httpd/httpd_proc.c
Log Message:
-----------
httpd: improve performance by using MHD_run_from_select()
By using MHD_run_from_select() instead of MHD_run() we avoid the
redundant internal call to select() from MHD_run().
Commit: ca263251c247d5cbe2307e7af4690a2703f10567
https://github.com/OpenSIPS/opensips/commit/ca263251c247d5cbe2307e7af4690a2703f10567
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-24 (Wed, 24 Oct 2018)
Changed paths:
M lib/sliblist.c
M lib/sliblist.h
M modules/httpd/httpd_load.h
M modules/httpd/httpd_proc.c
Log Message:
-----------
httpd: improve the way POST data is retrieved
The "upload_data" parameter of the access callback now properly
points to the body of the POST request for "application/json" and
"text/xml" content types.
Commit: 52aa14b4f94d25ef830d7069fb1df0ef46fbc3c5
https://github.com/OpenSIPS/opensips/commit/52aa14b4f94d25ef830d7069fb1df0ef46fbc3c5
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-24 (Wed, 24 Oct 2018)
Changed paths:
M blacklists.c
M evi/event_interface.c
M mi/mi.c
M mi/mi.h
M mi/mi_core.c
M net/net_tcp.c
Log Message:
-----------
mi core: several fixes and improvements
* fix error code check when printing mi error response
* add some error logs in handle_mi_request()
* add option to print mi response in compact form
* fix bogus null pointer checks in several core mi command handlers
Commit: 32eeeb9403522c4487c7db6729c08ca16777d44b
https://github.com/OpenSIPS/opensips/commit/32eeeb9403522c4487c7db6729c08ca16777d44b
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-25 (Thu, 25 Oct 2018)
Changed paths:
M modules/mi_json/http_fnc.c
M modules/mi_json/http_fnc.h
M modules/mi_json/mi_json.c
Log Message:
-----------
mi_json: adapt module to be only a http transport for jsonrpc
Commit: e99b5f73ee16e608a7277e36ff2dac5786787aa3
https://github.com/OpenSIPS/opensips/commit/e99b5f73ee16e608a7277e36ff2dac5786787aa3
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-25 (Thu, 25 Oct 2018)
Changed paths:
M doc/build-contrib.sh
A modules/mi_html/Makefile
A modules/mi_html/README
A modules/mi_html/doc/contributors.xml
A modules/mi_html/doc/mi_html.xml
A modules/mi_html/doc/mi_html_admin.xml
A modules/mi_html/http_fnc.c
A modules/mi_html/http_fnc.h
A modules/mi_html/mi_html.c
R modules/mi_http/Makefile
R modules/mi_http/README
R modules/mi_http/doc/contributors.xml
R modules/mi_http/doc/mi_http.xml
R modules/mi_http/doc/mi_http_admin.xml
R modules/mi_http/http_fnc.c
R modules/mi_http/http_fnc.h
R modules/mi_http/mi_http.c
Log Message:
-----------
Rename 'mi_http' module to 'mi_html'
Commit: 8634f6bec91f2450bc1347eaab102bb39d278d0d
https://github.com/OpenSIPS/opensips/commit/8634f6bec91f2450bc1347eaab102bb39d278d0d
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-10-25 (Thu, 25 Oct 2018)
Changed paths:
M doc/build-contrib.sh
A modules/mi_http/Makefile
A modules/mi_http/README
A modules/mi_http/doc/contributors.xml
A modules/mi_http/doc/mi_http.xml
A modules/mi_http/doc/mi_http_admin.xml
A modules/mi_http/http_fnc.c
A modules/mi_http/http_fnc.h
A modules/mi_http/mi_http.c
R modules/mi_json/Makefile
R modules/mi_json/README
R modules/mi_json/doc/contributors.xml
R modules/mi_json/doc/mi_json.xml
R modules/mi_json/doc/mi_json_admin.xml
R modules/mi_json/http_fnc.c
R modules/mi_json/http_fnc.h
R modules/mi_json/mi_json.c
Log Message:
-----------
Rename 'mi_json' module to 'mi_http'
Compare: https://github.com/OpenSIPS/opensips/compare/5b06340c3195...8634f6bec91f
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Devel
mailing list