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
Witold Filipczyk
651e4e72e8
[config] curl's ftp related code requires libevent. Refs #240
...
It does not compile with libev.
2023-06-22 20:07:08 +02:00
Witold Filipczyk
e69168c58a
[ftp] Added bool option "protocol.ftp.use_curl"
2023-06-22 19:39:13 +02:00
Witold Filipczyk
16a3732382
[curl] Removed blocking code
2023-06-21 19:35:13 +02:00
Witold Filipczyk
e53f7d8286
[sftp] Restart connection and add / in case of error
2023-06-21 19:32:06 +02:00
Witold Filipczyk
285fe378b5
[ftpes] Non-blocking way to add '/' to directory.
2023-06-21 19:25:48 +02:00
Witold Filipczyk
5c0e8fb889
[sftp] Workaround for symlink to directory
...
Won't work for files with 4096 bytes size, or bigger directories.
2023-06-21 17:47:41 +02:00
Witold Filipczyk
430c3fea93
[ftpes] Check existence of file in blocking way
2023-06-21 17:24:36 +02:00
Witold Filipczyk
2f32ca5611
[curl] Check g.multi
2023-06-20 09:30:14 +02:00