1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00
Commit Graph

762 Commits

Author SHA1 Message Date
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
Witold Filipczyk
008eacef69 [curl] no verify 2023-06-30 16:30:44 +02:00
Witold Filipczyk
e734a41df9 [curl] Show error also for FTP 2023-06-30 16:13:00 +02:00
Witold Filipczyk
df4a2bedbf [curl] Display curl error 2023-06-30 15:57:39 +02:00
Witold Filipczyk
62c42d41e3 [curl] redirect also for 302 2023-06-29 19:52:24 +02:00
Witold Filipczyk
e3fae6e678 [curl] Added bool option "protocol.http.use_curl" 2023-06-29 16:39:17 +02:00
Witold Filipczyk
6860965646 [curl] HTTP_USERAGENT 2023-06-29 16:26:20 +02:00
Witold Filipczyk
5a697f8457 [curl] free list 2023-06-29 16:11:49 +02:00
Witold Filipczyk
cbd811b4fb [curl] http POST with file uploads, reused code from http/post.c 2023-06-29 16:03:36 +02:00
Witold Filipczyk
fc6f1278eb [curl] Try HTTP3
Does not work for me.
2023-06-29 10:46:09 +02:00
Witold Filipczyk
502d726580 [curl] plain POST (not file uploads) 2023-06-28 16:45:38 +02:00
Witold Filipczyk
4a7cfb8778 Merge branch 'master' into http2 2023-06-28 12:40:56 +02:00
Witold Filipczyk
c6dfd4a55e [test] Compilation fix 2023-06-28 12:33:25 +02:00
Witold Filipczyk
9bf5494a6a [curl] ACCEPT_ENCODING "" 2023-06-25 19:00:26 +02:00
Witold Filipczyk
5e35e906dc [curl] Begining of curl's http 2023-06-25 18:21:35 +02:00