1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00
Commit Graph

776 Commits

Author SHA1 Message Date
Witold Filipczyk
ffa6c0c2a7 [meson] / operator for paths 2024-06-03 17:22:24 +02:00
Witold Filipczyk
9d5a827a68 [test] added libdomdeps 2024-06-03 16:54:21 +02:00
Witold Filipczyk
c42188c15a [curl] Distinguish FTP and SFTP 2024-05-27 16:39:07 +02:00
Witold Filipczyk
17e905b95d [SFTP] Added -Dsftp option. Enabled by default
Fixed building tests.
SFTP can be disabled, even if FTP and libcurl are enabled.
2024-05-27 16:31:25 +02:00
Witold Filipczyk
eb2aaf25ec [curl] Added include. Refs #304 2024-05-27 11:58:10 +02:00
Witold Filipczyk
a198d2da3c [curl] Compilation fix. Refs #304 2024-05-27 11:55:13 +02:00
Witold Filipczyk
1f0ee66aec [protolcols] Do not compile-in SFTP when ftp was disabled. Refs #304 2024-05-27 10:23:46 +02:00
Witold Filipczyk
110cdef5c2 [anonymous] about:config was available in anonymous mode 2024-04-25 17:29:39 +02:00
Witold Filipczyk
98e82717ea [curl] Option protocol.ftp.curl_tls13_ciphers
ciphers for ftpes.
2024-04-16 12:41:18 +02:00
Witold Filipczyk
f17f2d75ad [curl] option protocol.https.curl_tls13_ciphers
It is a colon separated list of ciphers. Mainly for testing.
See https://curl.se/docs/ssl-ciphers.html
2024-04-16 12:30:56 +02:00
Witold Filipczyk
141ad11ad5 [curl] Added bandwith limit for ftp and http.
protocol.ftp.curl_max_recv_speed
protocol.ftp.curl_max_send_speed
protocol.http.curl_max_recv_speed
protocol.http.curl_max_send_speed

Unit is byte per second. 0 - unlimited.
2024-04-15 19:52:23 +02:00
Witold Filipczyk
5886cad776 [curl] Once again disable FOLLOWLOCATION
The issue with curl is that it does not work with rememberred passwords.
2024-04-09 20:27:30 +02:00
Witold Filipczyk
3ca409f53f [curl] Send Accept-Language 2024-03-29 19:13:53 +01:00
Witold Filipczyk
674fa3c907 [curl] duplicate 2024-03-29 18:52:51 +01:00
Witold Filipczyk
085c87edbc [curl] Reset string with headers
When following urls, headers were added to previous values.
2024-03-29 13:38:32 +01:00
Witold Filipczyk
d10108751f [curl] FOLLOWLOCATION 1
It does not execute follow-url-hook, but works.
2024-03-29 11:50:04 +01:00
Witold Filipczyk
970245b28a [protocol] protocol.cpp -> protocol.c 2023-11-25 17:06:11 +01:00
Witold Filipczyk
8d93489933 [curl] Download resume for http 2023-11-16 16:24:08 +01:00
Witold Filipczyk
1ff535370e [curl] Added download resume for curl's ftp 2023-11-16 16:08:29 +01:00
Witold Filipczyk
c4add15307 [curl] Check CURL_CA_BUNDLE also for ftps 2023-11-08 13:39:26 +01:00
Witold Filipczyk
388db93244 [curl] Check enviroment variable CURL_CA_BUNDLE 2023-11-08 13:09:57 +01:00
Witold Filipczyk
decdfa853c [windows] Compilation fixes 2023-11-04 20:30:25 +01:00
Witold Filipczyk
ddbc49b6b3 [http] Added REFERER to curl 2023-10-06 15:12:29 +02:00
Witold Filipczyk
2c978637f0 [curl] send_cookies 2023-10-06 14:58:04 +02:00
Witold Filipczyk
929ff93cca [curl] Build fix 2023-09-12 16:56:36 +02:00
Witold Filipczyk
e5ad52fc57 [gemini] Off by one? Refs #264 2023-09-12 09:58:59 +02:00
Witold Filipczyk
37c6e34cf2 [file] Focus on .. in file directory listing. Refs #253
Requires js.
2023-09-11 16:29:52 +02:00
Witold Filipczyk
43f970d1f4 [data] Added image/jxl as well. Refs #261 2023-08-22 08:25:07 +02:00
Witold Filipczyk
365f1075b8 [data] string parameter was not used 2023-08-21 16:18:09 +02:00
Witold Filipczyk
9820cefba6 [data] Add extension .svg for image/svg+xml . Refs #261
The first idea was to add a function for mapping content-type -> extension,
but this change is only one line of code.
2023-08-21 14:36:23 +02:00
Witold Filipczyk
a142489a63 [curl] multisocket action also without libevent or libev 2023-07-24 16:52:01 +02:00
Witold Filipczyk
8d6ce5895c [curl] More http codes with redirect 2023-07-23 16:09:52 +02:00
Witold Filipczyk
d4a682829a [curl] Moved getting estimated length to the headers part 2023-07-23 14:51:25 +02:00
Witold Filipczyk
26190a6a26 [curl] Moved get_cached_entry to end of headers
Headers ends by CR LF.
2023-07-22 22:02:27 +02:00
Witold Filipczyk
18ba915960 [curl] do not get_cache_entry in header phase
Sometimes plain text is displayed. I'm trying to
find out solution for it. In setup_download_handler
cached->head was NULL.
2023-07-22 21:48:02 +02:00
Witold Filipczyk
d10f1c29f9 [curl] Do not check conn->cached twice if not NULL 2023-07-22 20:37:27 +02:00
Witold Filipczyk
a89738d9fb [curl] I guess curl has own timeouts 2023-07-22 20:29:58 +02:00
Witold Filipczyk
555bb84c58 [curl] Removed weird check
I don't remember purpose of this check. Seems unneeded.
2023-07-22 14:17:20 +02:00
Witold Filipczyk
87e4bfd41a [fsp2] This timer did not help 2023-07-13 17:14:00 +02:00
Witold Filipczyk
97723847f8 [curl] Show curl version in About dialog as FTPES. 2023-07-12 17:09:58 +02:00
Witold Filipczyk
edf2b4b147 [curl] 308 is redirect too. 2023-07-09 17:02:39 +02:00
Witold Filipczyk
868234cb13 [curl] Added libev code based on curl's evhiperfifo.c 2023-07-09 15:52:16 +02:00
Witold Filipczyk
0e3b868b15 [fsp2] Compilation fixes for dos 2023-07-08 09:32:39 +02:00
Witold Filipczyk
1a5f77f1f4 [curl] Compilation fixes 2023-07-08 09:30:55 +02:00
Witold Filipczyk
b5e9fa400d [fsp] Do not compile both 2023-07-08 08:50:54 +02:00
Witold Filipczyk
0e482b02da [fsp] fsp protocol support non-forking version based on fsplib
Maybe under DOS it makes sense.
It works worse than with fsplib. You can only download one file at a time.
2023-07-07 21:49:39 +02:00
Azamat H. Hackimov
393bf23a26 Fix compilation with Perl 5.38
Perl now includes own `struct object` which clashes with elinks
implementation. Renamed `struct object` to `struct elinks_object` to
avoid it.

Bug: https://bugs.gentoo.org/909042
2023-07-03 14:12:22 +03:00
Witold Filipczyk
5ca979844b [Makefiles] Added --with-libcurl configure option 2023-07-02 14:49:51 +02:00
Witold Filipczyk
36b802251d [curl] Ask for password for http 2023-07-01 09:29:55 +02:00
Witold Filipczyk
9389e2f903 [curl] Send username and password in http 2023-07-01 09:07:22 +02:00