summaryrefslogtreecommitdiff
path: root/sys/src/cmd/webfs
AgeCommit message (Collapse)Author
2022-04-02webfs: do not reuse digest Authorization headerscinap_lenrek
We must use the digest authorization header only once for a single request.
2022-04-02webfs: implement RFC2617 qop extension for http digest authenticationcinap_lenrek
2019-03-23webfs: bracket literal ipv6 host in "Host:" headercinap_lenrek
2019-02-25webfs: properly handle %.*s in url path and debug printscinap_lenrek
2018-12-01webfs: write headers individually so they are not limited in sum to the 8k ↵cinap_lenrek
buffer
2018-09-26libc: return number of bytes produced for idn2utf() and utf2idn()cinap_lenrek
2018-09-25webfs: remove idn.ccinap_lenrek
2018-09-25webfs: fix memory leak in Nfmt(), use libc's new idn functionscinap_lenrek
2018-09-18webfs: remove automatic Referer headermischief
automatic Referer headers were found to break downloads from sourceforge.net, causing html pages to appear instead of tarballs. if a website does need them, they can be added as needed via hget's -r flag, or added to mothra. reverts commits 67f536d20329 and 6d999c39a9f0
2018-06-24webfs: don't handle unknown status codes as continuations, reset status when ↵cinap_lenrek
handling continuation to avoid infinite loop
2018-01-31webfs(4): document -d and -D flagscinap_lenrek
2016-09-19webfs: aaand another one (should go to sleep)cinap_lenrek
2016-09-19webfs: fix mistake...cinap_lenrek
2016-09-19webfs: don't use cache connections when postingcinap_lenrek
we cannot retry posts and we do not know for sure if a post had any side effect when we got no status, so always make a new connection for a post request.
2016-08-15webfs: dont include http status in "needkey" error stringcinap_lenrek
2016-08-08webfs: avoid retry loops when we got a bad key in factotumcinap_lenrek
2016-08-08webfs: include factotum key query in error string for 401/407 Unauthorized ↵cinap_lenrek
status
2016-06-04webfs: less aggressive url normalization; never unescape reserved characters ↵cinap_lenrek
in path/query/fragment
2016-05-04webfs: fix "fd out of range" error messagecinap_lenrek
2016-04-18webfs: fix memory leak of serverName in tlswrap()cinap_lenrek
2016-04-15webfs: change %H (hostname) format to %N to not collide with encodefmt's %H ↵cinap_lenrek
(hex)
2016-02-08webfs: faster shutdown using postnote()cinap_lenrek
when the 9p end is closed, post a note to our private note group to shoot down http procs. this results in quicker release of namespace resources.
2016-01-07format pointer subtraction results with %zd instead of %ld (for long -> ↵cinap_lenrek
intptr on amd64)
2015-05-21webfs: send servername in tls client hello (SNI)cinap_lenrek
2015-05-10webfs: fix proxy authenticationcinap_lenrek
2015-03-14webfs: do not send credentials in automatic referer urlcinap_lenrek
2015-03-12webfs: simplify http basic auth code by using encodefmt()cinap_lenrek
2015-03-09webfs: implement CONNECT method for https connections over proxycinap_lenrek
when using a http proxy, establish secure tls connection to the other end with the CONNECT method so the proxy.
2015-02-23webfs: check $httpproxy and error when its boguscinap_lenrek
the httpproxy environment variable needs to be a url as stated in the manpage, so give an error when it isnt.
2014-06-04webfs: explicitely unmount old /mnt/web (thanks BurnZeZ)cinap_lenrek
webfs forks the namespace to isolate itself from its mount point which has the side effect that it captures the mount of previous instances of webfs mounted on /mnt/web. explicitely unmount the mountpoint in our namespace copy to drop the reference.
2014-05-09webfs: use mozilla compatible user agent as defaultcinap_lenrek
sites like google return the wrong characterset when they do not recognize the user-agent. so setting default user agent to something thats likely to pass these idiotic browser tests.
2014-04-03webfs: do not unescape escapecinap_lenrek
2014-02-14webfs: fix compiler warningcinap_lenrek
2013-11-24webfs: preserve unicode hostname, only convert to ascii when sending over ↵cinap_lenrek
the wire we'd like to keep Url.host in unicode for factotum key lookup. only when we send the url in a request, we have to convert it to ascii.
2013-11-24webfs: support for internationalized domain name urlscinap_lenrek
2013-09-14tls: fix various tlsClient()/tlsServer() related bugscinap_lenrek
- TLSconn structure on stack but not initialized (zeroed) - original filedescriptor double closed in error case - original filedescriptor leaked in success case - leaked TLSconn.sessionID and TLSconn.cert - clarify in pushtls(2) and pushssl(2)
2013-09-03webfs: add exits(0) to main()cinap_lenrek
2013-05-26add leading dot for explicit domain in webcookies, bump redirection limit to ↵cinap_lenrek
12 in webfs
2013-01-17webfs: handle multiple WWW-Authenticate headers, fix fmtstrinit() memory leakscinap_lenrek
2013-01-12webfs: preauth supportcinap_lenrek
2012-08-18webfs: capture error string from tlsClientcinap_lenrek
2012-07-19fix strchr \0 bugscinap_lenrek
2012-06-28webfs: fix mistakecinap_lenrek
2012-06-28webfs: send Accept headerscinap_lenrek
2012-06-19webfs: fix google login 400 bad requestcinap_lenrek
2012-06-18mothra/webfs: multipart/form-data and file upload supportcinap_lenrek
2012-05-18webfs: nstrcpy paranoiacinap_lenrek
2012-05-16webfs: add global timeout parameter settable in rootctl and command linecinap_lenrek
2012-05-03webfs/httpc.: increase dial timeout to 10 seconds, response timeout to 20 ↵stanley lieber
seconds
2012-04-03webfs: make up fake spoof referercinap_lenrek