SHA256
8
0
forked from pool/ulfius

35 Commits

Author SHA256 Message Date
cadfe8ada8 - update to 2.7.15:
* Add functions `ulfius_send_http_request_with_limit` and
    `ulfius_send_http_streaming_request_max_header`
  * cmake: restore option `WITH_YDER` which was forgotten in last
    release refactor
  * cmake: split package build options in 3 (tar.gz, deb and
    rpm), and set all packages build to off by default

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=61
2023-11-19 21:52:49 +00:00
c8244e8760 Accepting request 1112009 from home:mnhauke
- Update to version 2.7.14
  * Set protocols to http and https only in send requests.
  * Fix static analyzer warnings.
  * Minor improvements.
  * cmake: remove DownloadProject feature, now dependencies must
    be previously installed.
- Update to version 2.7.13
  * Websockets client: fix case where server sends a 0-length
    packet.
  * Minor improvements.

OBS-URL: https://build.opensuse.org/request/show/1112009
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=59
2023-09-20 12:21:53 +00:00
49aa62d167 Accepting request 1057922 from home:mnhauke
- Update to version 2.7.12
  * Improve cmake script.
  * Minor bugfixes
  * Add cmake build flag WITH_WEBSOCKET_MESSAGE_LIST to completely
    disable message lists storage in websockets.

OBS-URL: https://build.opensuse.org/request/show/1057922
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=57
2023-01-12 09:21:18 +00:00
5410e2c10c Accepting request 1011168 from home:mnhauke
- Update to version 2.7.11
  * Add ulfius_websocket_parse_json_message for incoming websocket
    messages
  * Breaking: in ulfius_websocket_send_json_message, return
    U_ERROR_PARAMS if j_message is NULL
  * Update callback examples
  * Fix minor bugs

OBS-URL: https://build.opensuse.org/request/show/1011168
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=55
2022-10-17 07:22:53 +00:00
c3fa161040 Accepting request 979671 from home:mnhauke
- Update to version 2.7.10
  * Update `SameSite` cookie value, add `U_COOKIE_SAME_SITE_EMPTY`
    and allow value None
  * Fix pkg-config file with absolute path for
    `CMAKE_INSTALL_{INCLUDE,LIB}DIR`
  * Fix `CMAKE_MODULE_PATH` who was used as single value

OBS-URL: https://build.opensuse.org/request/show/979671
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=53
2022-05-29 18:53:56 +00:00
Martin Hauke
988c73e52b Accepting request 970860 from home:susnux:branches:devel:libraries:c_c++
- Update to version 2.7.9
  * Fix multipart/form-data for large values
  * Add option allowed_post_processor in struct _u_instance to
    disable post parameter processing depending on the content-type
  * Add more example_callbacks

OBS-URL: https://build.opensuse.org/request/show/970860
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=51
2022-04-19 20:42:25 +00:00
42680643b2 Accepting request 961476 from home:mnhauke
- Update to version 2.7.8
  * Fix Origin header setting in websocket client
  * Remove header duplicates and Content-Length
  * Redirect libmicrohttpd logs to yder
  * Replace uint with unsigned int
  * Add ulfius_export_request_http and ulfius_export_response_http
  * Use o_strnullempty instead of o_strlen to check if a char * has
    data

OBS-URL: https://build.opensuse.org/request/show/961476
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=49
2022-03-14 10:56:26 +00:00
28a192cd4c Accepting request 938282 from home:mnhauke
- Update to version 2.7.7
  * Use `o_malloc` everywhere instead of `malloc`

OBS-URL: https://build.opensuse.org/request/show/938282
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=48
2021-12-10 09:13:02 +00:00
Martin Hauke
0173645652 Accepting request 929731 from home:mnhauke
- Update to version 2.7.6
  * Fix ulfius_websocket_wait_close
  * Fix ulfius_send_http_request when url contains spaces

OBS-URL: https://build.opensuse.org/request/show/929731
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=47
2021-11-09 16:39:35 +00:00
799d07fde0 Accepting request 927843 from home:mnhauke
- Update to version 2.7.5
  * Fix cookie management in ulfius_send_http_request and
    ulfius_send_http_streaming_request
  * Add option U_OPT_AUTH_BASIC to ulfius_set_request_properties
  * Fix bug in static_compressed_inmemory_website callback example

OBS-URL: https://build.opensuse.org/request/show/927843
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=46
2021-11-02 11:59:10 +00:00
Martin Hauke
334fe0b693 Accepting request 917246 from home:mnhauke
- Update to version 2.7.4
  Fix security issue CVE-2021-40540 (bsc#1190246)
  * Add void parameter to functions with no param.
  * Fix bug when malformed HTTP requests are sent.
  * Remove yder flag from libulfius.pc when yder is disabled.

OBS-URL: https://build.opensuse.org/request/show/917246
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=45
2021-09-08 06:46:58 +00:00
7b5fc683f7 Accepting request 897714 from home:mnhauke
- Update to version 2.7.3
  * Add ULFIUS_CHECK_VERSION macro.
  * Add struct _websocket_manager.keep_messages flag.
  * Add struct _u_response.free_shared_data and
    ulfius_set_response_shared_data.

OBS-URL: https://build.opensuse.org/request/show/897714
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=43
2021-06-07 07:06:24 +00:00
6cdcefc462 Accepting request 878377 from home:mnhauke
- Adjust BR: liborcania >= 2.1.1 is needed.

OBS-URL: https://build.opensuse.org/request/show/878377
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=41
2021-03-12 14:12:50 +00:00
b1e28e0f53 Accepting request 877374 from home:mnhauke
- Update to version 2.7.2
  * Fix post processor on multiple values with the same key.
  * Add missing check includes if tests are built.
  * Add option U_OPT_HTTP_URL_APPEND to
    ulfius_set_request_properties
  * Use ulfius_set_request_properties in example programs

OBS-URL: https://build.opensuse.org/request/show/877374
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=40
2021-03-08 08:28:28 +00:00
357bf6746e Accepting request 860008 from home:mnhauke
- Update to version 2.7.1
  * Fix websocket protocol and extension management bug
  * Add Makefile flag UWSCFLAG to disable uwsc build

OBS-URL: https://build.opensuse.org/request/show/860008
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=38
2021-01-04 10:19:50 +00:00
Martin Hauke
4c69d37805 Accepting request 854104 from home:mnhauke
- Add missing "Requires: zlib-devel" to ulfius-devel as
  ulfius.h includes zlib.h

OBS-URL: https://build.opensuse.org/request/show/854104
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=36
2020-12-16 09:01:54 +00:00
5d8a4063ca Accepting request 853517 from home:mnhauke
- Update to version 2.7.0
  * Allow Content-Enconding header with ulfius_send_http_request
    to compress the response body
  * Add http_compression callback example
  * Add static_compressed_inmemory_website callback example
  * Add callback return value U_CALLBACK_IGNORE to igore
    incrementation of request->callback_position
  * Add ulfius_add_websocket_extension_message_perform and
    ulfius_add_websocket_client_extension_message_perform for
    advanced websocket extensions management
  * Add Compression Extensions for WebSocket
  * Fix lots of websocket bugs thanks to Autobahn|Testsuite.

OBS-URL: https://build.opensuse.org/request/show/853517
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=34
2020-12-07 09:17:06 +00:00
07d1f22e1a Accepting request 831523 from home:mnhauke
- Update to version 2.6.9
  * Update doc generation
  * Add ulfius_websocket_send_json_message
  * Update pkg-config Libs with all dependencies
  * Add ulfius_global_init and ulfius_global_close
  * Rename U_STREAM_SIZE_UNKOWN to U_STREAM_SIZE_UNKNOWN,
    keep U_STREAM_SIZE_UNKOWN for backward compatibility

OBS-URL: https://build.opensuse.org/request/show/831523
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=32
2020-09-11 06:31:09 +00:00
b88b997976 Accepting request 820010 from home:mnhauke
- Redownloaded source tarball

OBS-URL: https://build.opensuse.org/request/show/820010
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=30
2020-07-14 09:18:11 +00:00
cc88d35407 Accepting request 819350 from home:mnhauke
- Update to version 2.6.8
  * Increase `ULFIUS_POSTBUFFERSIZE` to follow MHD documentation
  * Adapt code to be compatible with all MHD version
  * In case of secure websocket communication, use a combination of
    `gnutls_record_check_pending()` and `poll()` to determine if
    data is ready.
  * Install uwsc manpage
  * Fix bug about missing `res` variable assignment.

OBS-URL: https://build.opensuse.org/request/show/819350
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=29
2020-07-10 14:48:34 +00:00
6f6cc87443 Accepting request 811332 from home:mnhauke
- Update to version 2.6.7
  * Check header property case insensitive in websocket client
  * Add libcurl option CURLOPT_NOPROGRESS in
    ulfius_send_http_streaming_request
  * Add ulfius_start_framework_with_mhd_options for expert mode
  * Fix websocket bugs
  * Add ulfius_set_request_properties and
    ulfius_set_response_properties

OBS-URL: https://build.opensuse.org/request/show/811332
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=27
2020-06-06 06:51:01 +00:00
676a4d1756 Accepting request 790375 from home:mnhauke
- Update to version 2.6.6
  * Update doc generation
  * Fix jansson memoy management bug

OBS-URL: https://build.opensuse.org/request/show/790375
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=25
2020-04-01 07:44:24 +00:00
Martin Hauke
21aca842a8 Accepting request 765575 from home:mnhauke
* Add function ulfius_send_smtp_rich_email to send e-mails
    with a specified content-type
  * Add follow_redirect in struct _u_request
  * Fix certificate check

OBS-URL: https://build.opensuse.org/request/show/765575
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=23
2020-01-19 14:30:07 +00:00
Martin Hauke
81976bcbfd Accepting request 758739 from home:mnhauke
- Update to version 2.6.5
  * Allow `NULL` values on `struct _u_map`

OBS-URL: https://build.opensuse.org/request/show/758739
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=22
2020-01-01 16:06:25 +00:00
3f14f61ba9 Accepting request 749290 from home:mnhauke
- Also add "libjansson-devel", "libgnutls-devel" and
  "libmicrohttpd-devel" as requirements for ulfius-devel

OBS-URL: https://build.opensuse.org/request/show/749290
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=20
2019-11-18 11:56:29 +00:00
56917e0a8f Accepting request 747439 from home:mnhauke
- Disable LTO for now since it breaks compilation on i586
- Add "Requires: libcurl-devel" to ulfius-devel

OBS-URL: https://build.opensuse.org/request/show/747439
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=19
2019-11-18 10:14:24 +00:00
ad5c85e75e Accepting request 735453 from home:mnhauke
- Update to version 2.6.4
  * Add precision for chunked response, got the inspiration
    from #132.
  * Update access token for oauth2 bearer validation callback
    function, add precision concerning libjwt.
  * Update callback_check_glewlwyd_access_token to the up-to-date
    version.
  * Various small fixes.

OBS-URL: https://build.opensuse.org/request/show/735453
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=17
2019-10-07 11:51:05 +00:00
461c11dac6 Accepting request 721736 from home:mnhauke
- Add "Requires: yder-devel" to ulfius-devel

- Update to version 2.6.3
  * Fix warning appeared with gcc 9.1, fixes #128
  * Make instance->mhd_response_copy_data useless if MHD>=0.9.61
  * Fix MHD_start_daemon flag to reuse MHD_USE_THREAD_PER_CONNECTION
    by default
- Remove patch (fixed upstream):
  * 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch

OBS-URL: https://build.opensuse.org/request/show/721736
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=15
2019-08-16 11:58:24 +00:00
7c69b54a02 Accepting request 720107 from home:mnhauke
- Add "Requires: orcania-devel" to ulfius-devel

OBS-URL: https://build.opensuse.org/request/show/720107
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=13
2019-08-01 13:54:27 +00:00
Martin Hauke
bb804c42ae Accepting request 716726 from home:mnhauke
- Update to version 2.6.2
  * Fix memory leak in `ulfius_set_string_body_request` and
    `ulfius_set_string_body_response`
  * Call callback function websocket_onclose_callback on all times,
    even if the websocket hasn't properly worked, so the calling
    program can avoid memory leak and broken resources, fix #126
- Add patch (fixes a compilation error on Tumbleweed):
  * 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch

OBS-URL: https://build.opensuse.org/request/show/716726
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=11
2019-07-23 07:44:48 +00:00
a4e045129f Accepting request 713114 from home:mnhauke
- Update to version 2.6.1
  * Fix package dependencies in cmake script
  * Fix core test to skip websocket tests if webscket is disabled
  * Disable ipv6 capabilities if libmicrohttpd is older than 0.9.52
  * Small bugfixes
- Update to version 2.6.0
  * Add struct _u_request->callback_position to know the position
    of the current callback in the callback list
  * Use MHD_USE_AUTO instead of MHD_USE_THREAD_PER_CONNECTION if
    libmicrohttpd is newer then 0.9.52
  * Add network_type in struct _u_instance and struct _u_request to
    specify IPV4, IPV6 or both networks
  * Add check_server_certificate_flag, check_proxy_certificate,
    check_proxy_certificate_flag and ca_path in struct _u_request to
    add more precision and control on SSL verification in u_send_request
  * Add functions ulfius_set_string_body_request,
    ulfius_set_binary_body_request, ulfius_set_empty_body_request
  * Add url_path in struct _u_request to store the url path only,
    without query parameters
  * Add ulfius_url_decode and ulfius_url_encode
  * Clean code, add more tests
    errors
  * Use gnutls_rnd() instead of rand()
- Update to version 2.5.5
  * Fix #121 where websockets messages of 126 or 127 bytes long made
  * Fix sneaky bug where endpoint injection inside a endpoint callback
    can lead to wrong callback calls, or even worse, crashes

OBS-URL: https://build.opensuse.org/request/show/713114
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=9
2019-07-07 13:44:29 +00:00
29dfe878e0 Accepting request 692118 from home:mnhauke
- Update to version 2.5.4
  * Align PKGCONF_REQ_PRIVATE required versions
  * Backport ulfius_copy_request, ulfius_duplicate_request,
    ulfius_copy_response and ulfius_duplicate_response from Ulfius 2.6

- Update to version 2.5.3
  - Add flag to build Ulfius with GnuTLS support but without
    Websockets.
  - Fix CMake build process that didn't obviously linked Ulfius
    with pthreads.

OBS-URL: https://build.opensuse.org/request/show/692118
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=7
2019-04-08 09:33:25 +00:00
483f213e0c Accepting request 662545 from home:mnhauke
- Update to version 2.5.2
  * Fix utf8 check on NULL value
- Update to version 2.5.1
  * Fix uwsc crash on some systems
- Update to version 2.5.0
  * Add struct _u_endpoint.check_utf8 to check all request parameters
    and values to be valid utf8 strings.
  * Add client certificate authentication for webservice and send
    request library.
  * Add support for SameSite attribute in response cookies
- Update to version 2.4.4
  * CMake scripts improvements
- Update to version 2.4.3
  * Add config file ulfius-cfg.h dynamically built with the options
  * Adapt examples with new ulfius-cfg.h file
- Update to version 2.4.2
  * Fix #79 where yuarel should be hidden from the outside world
- Update to version 2.4.1
  * Fix #78 where gnutls is not required if websocket is disabled
- Update to version 2.4.0
  * Fix Websocket fragmented messages
  * Fix CMake script that installed Orcania twice
  * Fix cppcheck warnings
  * Add timeout for http connections
  * Allow to use MHD_RESPMEM_MUST_COPY for different memory manager
  * Add websocket client framework
  * Add uwsc - Ulfius WebSocket Client
    A simple command-line websocket client program
- Remove patches (included/fixed upstream):
  * 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch

OBS-URL: https://build.opensuse.org/request/show/662545
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=5
2019-01-07 10:18:15 +00:00
1fb5127f87 Accepting request 628735 from home:jengelh:branches:devel:libraries:c_c++
- Description update.

OBS-URL: https://build.opensuse.org/request/show/628735
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=2
2018-08-11 15:46:45 +00:00
Ismail Dönmez
c6dcf27fe1 Accepting request 627382 from home:mnhauke
Initial package for ulfius

OBS-URL: https://build.opensuse.org/request/show/627382
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ulfius?expand=0&rev=1
2018-08-08 08:30:41 +00:00