c9f98292dc
Remove old examples
2024-04-21 17:12:37 +02:00
cf68e9f153
Guard --http3-only flag
2024-04-21 17:12:37 +02:00
09ff32ca50
Fix syntax errors
2024-04-21 17:12:37 +02:00
63a4c07511
Fix coding style & examples
2024-04-21 17:12:36 +02:00
f8029bb54b
Remove unused wget_ssl_init_quic
2024-04-21 17:12:36 +02:00
e41ed7c00b
* Documentation for functions added [skip ci]
2024-04-21 17:12:36 +02:00
5d669b19cf
* changes made to discard wget_http3_connection and use wget_http_connection for http3 [skip ci]
2024-04-21 17:12:36 +02:00
b9353d3014
* implemented wget_http3_close [skip ci]
...
* gaurded http3 functions to check availablility of nghttp3 library
* some functions renamed to keep only specific functions of http3 public
2024-04-21 17:12:36 +02:00
fce5de3e67
* changes made as per suggestions [skip ci]
...
* wget_http3_get_response returns the data that the http3 client stream has read
* all fprintf converted into debug_printf and error_printf
* fixed issues mentioned in the thread
2024-04-21 17:12:36 +02:00
2f7ef2c0f5
* changes made in the code as per suggestions [skip ci]
...
* used wget_http_request to create a http3 request
* wget_http3_get_response implemented to read the response
2024-04-21 17:12:36 +02:00
b7b075751a
* read for http3 working
...
* callback functions for closing the HTTP/3 and QUIC streams to be implemented.
2024-04-21 17:12:36 +02:00
b3fb6029e3
* Changes internal implementation of byte to indicalte type of byte getting stored [skip ci]
...
* Also changes internal implementation of queue for testing a issue
* ISSUE : Example quic_read_write receives a packet twice
2024-04-21 17:12:36 +02:00
206bc62335
* basic implementation of http3 stack over quic stack completed [skip ci]
...
* implementated very basic callback functions for http3
* implemented wget_http3_send_request to create a http3 requests
* reimplemented the internal working of wget_queue_peak_untransmitted
* example code for sending http3 request implemented
2024-04-21 17:12:36 +02:00
4132f38f99
* Changes made as per suggestions in wget_quic_rw_once [skip ci]
...
* wget_quic_rw_once will do read-write cycle once
* changes made for consistency with kernel coding style
2024-04-21 17:12:36 +02:00
637cd63d0e
* wget_quic_once implemented which does a complete write and read cycle [skip ci]
2024-04-21 17:12:36 +02:00
a4ed59b1bd
* wget_quic_ack implemented [skip ci]
...
* The motivation for implementation is multiple number of packets
sent from server for a single packet sent from client
2024-04-21 17:12:36 +02:00
7ea36e7ceb
* Minor changes in other example codes [skip ci]
2024-04-21 17:12:36 +02:00
6d951c6a79
* Amendments made in the code as per suggestions [skip ci]
...
* Removed unnecessary getter-setter functions implemented
* implemented getter-setter for config in quic's ssl
2024-04-21 17:12:36 +02:00
5639d25529
* wget_quic_read function working [skip ci]
...
* quic_write_read.c file created to demonstrate the working of wget_quic_read
and wget_quic_write hand in hand while configuring it to the QUIC ECHO server
2024-04-21 17:12:36 +02:00
f9dd3033a4
* wget_quic_write function working [skip ci]
...
* quic_write.c file created to make provide a example of write.
* A sample string initially pushed into the stream and then the stream
structure further utilised for sending the data over socket.
2024-04-21 17:12:36 +02:00
895ad8ae48
* Changes made in the code as per suggestions
...
* wget_quic_deinit added
* now the code has only wget_quic struct instead of two structs
* created new file named ssl_quic_gnutls.c
2024-04-21 17:12:36 +02:00
09adf0ac1a
* QUIC Handshake working with QUIC Echo server [skip ci]
...
* Simplified the implementation of wget_quic_connect() and wget_ssl_quic_connect()
* Segregated the function wget_quic_connect into wget_quic_connect and wget_quic_handshake
2024-04-21 17:12:36 +02:00
188989e067
Update copyright year
2024-01-07 12:41:02 +01:00
15ba1db248
Update copyrights
2023-08-31 12:57:30 +02:00
8892867db0
* examples/getstream.c: Initialize array to avoid strduping random memory
2022-06-26 13:03:50 +02:00
44f1bb7c4c
Remove memset() calls
...
* examples/batch_loader.c (main): Likewise
* examples/check_url_types.c (main): Likewise
* libwget/metalink.c (add_file_hash): Likewise
* src/wget.c (program_init): Likewise
2022-06-25 13:57:00 +02:00
b22e6b8b07
* examples/Makefile.am: Remove linking of libgnu.la
2022-06-25 13:38:31 +02:00
3dc7f71098
Update copyright year
2022-02-25 17:46:43 +01:00
214a6f4937
Use sa_handler instead of sa_sigaction
...
* examples/batch_loader.c (main): Use sa_handler instead of sa_sigaction.
* examples/check_url_types.c (main): Likewise.
* src/wget.c (program_init): Likewise.
2021-12-05 17:28:51 +01:00
22162f82b2
Update copyright year
2021-01-22 21:58:38 +01:00
b3fb93ea46
Fix findings from scan-build 11
...
* examples/batch_loader.c (_normalize_location): 'rc' was set but not used.
* examples/check_url_types.c (_normalize_location): 'rc' was set but not used.
2020-12-20 17:13:05 +01:00
ef40fb5221
Parse HTML download attribute
...
* examples/print_html_urls.c: Print download attribute.
* include/wget/wget.h (wget_html_parsed_url): Add download member.
* libwget/html_url.c (html_get_url): Parse download attribute.
2020-03-15 11:53:09 +01:00
59d9ecd9c0
* Update copyright year to 2020
2020-01-10 00:33:02 +01:00
0f624b16b5
Update Makefile.am for latest gnulib
...
* examples/Makefile.am: Amend LDADD assignment
* fuzz/Makefile.am: Likewise
* libwget/Makefile.am: Likewise
* src/Makefile.am: Likewise
* tests/Makefile.am: Likewise
* unit-tests/Makefile.am: Likwise
2020-01-07 15:46:12 +01:00
4b9edbad2d
Update Copyright statements to be compatible with update-copyright module
2019-09-10 23:41:56 +02:00
d4af0fa1f6
* examples/http_get.c: Use https:// instead of http://
2019-09-06 00:30:08 +02:00
3ce5137d5b
Rename wget_html_parsed_url.dir -> wget_html_parsed_url.tag
...
* include/wget/wget.h: Rename wget_html_parsed_url.dir -> wget_html_parsed_url.tag
* examples/print_html_urls.c: Likewise
* libwget/html_url.c: Likewise
* src/wget.c: Likewise
2019-09-02 17:37:32 +02:00
a6e38ee2ec
* examples/Makefile.am: Add -DMALLOC_RETURNS_NONNULL to AM_CFLAGS and AM_CPPFLAGS
2019-08-17 18:34:45 +02:00
987705cd7e
* examples/batch_loader.c: Check return value of wget_strmemdup()
2019-08-16 17:22:32 +02:00
dd5a7d81c9
* examples/check_url_types.c: Check return value of wget_strmemdup()
2019-08-16 17:22:13 +02:00
65ec4901b4
Remove global wget_iri_schemes[], add wget_iri_scheme enum
...
* include/wget/wget.h: Remove global wget_iri_schemes[],
add wget_iri_scheme enum
* libwget/iri.c: Add struct iri_scheme,
remove wget_iri_schemes and iri_ports,
new function wget_iri_scheme_get_name(),
fix code
* examples/check_url_types.c: Use comparison instead of wget_strcasecmp
* fuzz/libwget_iri_fuzzer.c: Use WGET_IRI_SCHEME_HTTPS instead of string
* libwget/http.c: Use wget_iri_scheme_get_name()
* libwget/http.h: Change scheme from string to wget_iri_scheme
* libwget/http_parse.c: Fix wget_http_get_scheme()
* src/blacklist.c: Fix hash_iri()
* src/host.c: Fix _host_hash()
* src/options.c: Use WGET_IRI_SCHEME_* instead of string
* src/stats_server.c: Use wget_iri_scheme for scheme member
* src/wget.c: Fix code
* src/wget_host.h: Use wget_iri_scheme fro scheme member
* unit-tests/test.c: Fix tests
2019-08-13 16:55:53 +02:00
3835d892bb
Rename HTTP parse callback types
...
* include/wget/wget.h: Rename HTTP parse callback types
* examples/getstream.c: Likewise
* libwget/http.c: Likewise
* libwget/http_highlevel.c: Likewise
2019-08-12 11:38:10 +02:00
85a7ee75a4
examples/http_get2.c: Cleanup
2019-08-12 10:50:21 +02:00
12f1a03693
Changed G_GNUC_WGET prefix to WGET_GCC
...
* include/wget/wget.h: Changed G_GNUC_WGET prefix to WGET_GCC
* */*.[ch]: Likewise
2019-08-08 17:13:24 +02:00
837ab09eb5
Add examples/relative_to_absolute_url.c
2019-08-08 15:49:51 +02:00
37ce0d0a15
* examples/getstream.c: Fix call to wget_http_get()
2019-07-25 11:58:12 +02:00
e6aba6bb09
Rename wget_http_connection_t -> wget_http_connection
...
* include/wget/wget.h: Rename wget_http_connection_t -> wget_http_connection
* examples/check_url_types.c: Likewise
* examples/http_get.c: Likewise
* examples/http_get2.c: Likewise
* examples/http_multi_get.c: Likewise
* examples/websequencediagram.c: Likewise
* examples/websequencediagram_high.c: Likewise
* fuzz/libwget_http_client_fuzzer.c: Likewise
* libwget/http.c: Likewise
* libwget/http_highlevel.c: Likewise
* libwget/http_parse.c: Likewise
* libwget/ssl_gnutls.c: Likewise
* src/wget.c: Likewise
* src/wget_job.h: Likewise
2019-07-19 16:47:01 +02:00
35c18afa13
Rename wget_http_request_t -> wget_http_request
...
* include/wget/wget.h: Rename wget_http_request_t -> wget_http_request
* examples/http_get2.c: Likewise
* examples/http_multi_get.c: Likewise
* examples/websequencediagram.c: Likewise
* fuzz/libwget_http_client_fuzzer.c: Likewise
* libwget/http.c: Likewise
* libwget/http_highlevel.c: Likewise
* libwget/http_parse.c: Likewise
* libwget/ssl_gnutls.c: Likewise
* src/wget.c: Likewise
* unit-tests/test.c: Likewise
2019-07-19 16:44:21 +02:00
da75b622d6
Rename wget_http_response_t -> wget_http_response
...
* include/wget/wget.h: Rename wget_http_response_t -> wget_http_response
* examples/batch_loader.c: Likewise
* examples/check_url_types.c: Likewise
* examples/getstream.c: Likewise
* examples/http_get.c: Likewise
* examples/http_get2.c: Likewise
* examples/http_multi_get.c: Likewise
* examples/websequencediagram.c: Likewise
* examples/websequencediagram_high.c: Likewise
* fuzz/libwget_http_client_fuzzer.c: Likewise
* fuzz/libwget_http_parse_fuzzer.c: Likewise
* libwget/http.c: Likewise
* libwget/http_highlevel.c: Likewise
* libwget/http_parse.c: Likewise
* libwget/ssl_gnutls.c: Likewise
* src/gpgme.c: Likewise
* src/stats_site.c: Likewise
* src/wget.c: Likewise
* src/wget_gpgme.h: Likewise
* src/wget_stats.h: Likewise
* tests/test-cookies-http_state.c: Likewise
* unit-tests/test-cookies-http_state.c: Likewise
* unit-tests/test.c: Likewise
2019-07-19 16:41:21 +02:00
8c47901ef8
Rename wget_html_parsed_result_t -> wget_html_parsed_result
...
* include/wget/wget.h: Rename wget_html_parsed_result_t -> wget_html_parsed_result
* examples/check_url_types.c: Likewise
* examples/print_html_urls.c: Likewise
* fuzz/libwget_html_url_fuzzer.c: Likewise
* libwget/html_url.c: Likewise
* src/wget.c: Likewise
2019-07-19 16:14:33 +02:00