Skip to content
Commit 46237b80 authored by Tim Rühsen's avatar Tim Rühsen 🛠️
Browse files

Use extended file attributes for server's file timestamp

* src/wget_xattr.h: Add fgetxattr definitions (Linux, Apple, FreeBSD)
* src/wget.c (set_file_metadata): Save "user.last_modified" attribute,
 (read_xattr_metadata): Add function,
 (write_xattr_metadata): Cleanup code,
 (http_create_request): Get timestamp from xattr if available
parent 84057647
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment