git-annex.git
2 years agocleanup comments on removed news post
Joey Hess [Wed, 31 Jul 2024 18:05:48 +0000 (14:05 -0400)]
cleanup comments on removed news post

2 years agoadd news item for git-annex 10.20240731
Joey Hess [Wed, 31 Jul 2024 18:05:11 +0000 (14:05 -0400)]
add news item for git-annex 10.20240731

2 years agoreleasing package git-annex version 10.20240731
Joey Hess [Wed, 31 Jul 2024 18:05:01 +0000 (14:05 -0400)]
releasing package git-annex version 10.20240731

2 years agoanalysis
Joey Hess [Wed, 31 Jul 2024 16:19:12 +0000 (12:19 -0400)]
analysis

2 years agovery temporarily copy stack.yaml to stack-lts-18.13.yaml
Joey Hess [Wed, 31 Jul 2024 14:09:47 +0000 (10:09 -0400)]
very temporarily copy stack.yaml to stack-lts-18.13.yaml

Windows autobuilder is still using that and a vacation is blocking
updating it to use stack.yaml.

2 years agopinged
Joey Hess [Wed, 31 Jul 2024 14:06:43 +0000 (10:06 -0400)]
pinged

2 years agocomment
Joey Hess [Wed, 31 Jul 2024 14:04:08 +0000 (10:04 -0400)]
comment

2 years ago[Bug] Trust but Verify: RClone
Spencer [Wed, 31 Jul 2024 00:34:01 +0000 (00:34 +0000)]
[Bug] Trust but Verify: RClone

2 years agomore fixes to build w/o servant
Joey Hess [Tue, 30 Jul 2024 16:39:17 +0000 (12:39 -0400)]
more fixes to build w/o servant

2 years agotypo
Joey Hess [Tue, 30 Jul 2024 16:18:39 +0000 (12:18 -0400)]
typo

2 years agoupdate
Joey Hess [Tue, 30 Jul 2024 16:17:05 +0000 (12:17 -0400)]
update

2 years agotodo
Joey Hess [Tue, 30 Jul 2024 15:58:44 +0000 (11:58 -0400)]
todo

2 years agofix negative DATA when 1 node of a cluster has a partial transfer
Joey Hess [Tue, 30 Jul 2024 15:42:17 +0000 (11:42 -0400)]
fix negative DATA when 1 node of a cluster has a partial transfer

2 years agoavoid partial functions
Joey Hess [Tue, 30 Jul 2024 15:27:20 +0000 (11:27 -0400)]
avoid partial functions

This is horrible old code and ghc has started to warn about head and
tail. Rewrote it to avoid all partial functions except !! and guarded
uses of !! with length checks.

2 years agofix build without servant some more
Joey Hess [Tue, 30 Jul 2024 14:53:44 +0000 (10:53 -0400)]
fix build without servant some more

2 years agocomment
Joey Hess [Tue, 30 Jul 2024 14:50:13 +0000 (10:50 -0400)]
comment

2 years agodeindent
Joey Hess [Tue, 30 Jul 2024 14:34:18 +0000 (10:34 -0400)]
deindent

the indentation broke the arm64ancient build which edits the file

2 years agodisable servant build flag for i386ancient
Joey Hess [Tue, 30 Jul 2024 14:01:56 +0000 (10:01 -0400)]
disable servant build flag for i386ancient

Its library stack is too old, and while lts-12.14 does include an old
version of servant, some libraries like http-client have been bumped up
from the lts to support eg http-client-restricted. So a newer servant
would be needed, which would lead to many more upgrades.

There might be a dependency set that works, but I have not been able to
find it so far. stack solver also failed to find one.

2 years agofix build without servant
Joey Hess [Tue, 30 Jul 2024 13:49:37 +0000 (09:49 -0400)]
fix build without servant

2 years agoupdate stack.yaml to nightly-2024-07-29 and remove stack-lts-18.13.yaml
Joey Hess [Tue, 30 Jul 2024 00:03:58 +0000 (20:03 -0400)]
update stack.yaml to nightly-2024-07-29 and remove stack-lts-18.13.yaml

Primarily because Windows needs a dependency bump to get stm-2.5.1
for Servant build flag.

This includes Win32-2.13.4.0 and aws-0.24 which adds some features
that windows had been missing out on as well.

Lots of warnings about head and tail will need to eventually be
addressed. Of course AFAIK the uses of it in git-annex are all safe.

2 years agofix syntax
Joey Hess [Mon, 29 Jul 2024 23:13:31 +0000 (19:13 -0400)]
fix syntax

2 years agotemporarily disable servant build flag on windows
Joey Hess [Mon, 29 Jul 2024 23:12:48 +0000 (19:12 -0400)]
temporarily disable servant build flag on windows

2 years agoservant build flag needs stm-2.5.1
Joey Hess [Mon, 29 Jul 2024 23:10:00 +0000 (19:10 -0400)]
servant build flag needs stm-2.5.1

For writeTMVar. Would be possible to rewrite to use something else, but
I don't want to. Might be possible to write a writeTMVar that works with
the old version of stm.

2 years agofix build with text older than 2.0
Joey Hess [Mon, 29 Jul 2024 22:15:29 +0000 (18:15 -0400)]
fix build with text older than 2.0

2 years agoenable servant in windows build
Joey Hess [Mon, 29 Jul 2024 21:24:31 +0000 (17:24 -0400)]
enable servant in windows build

2 years agofix build with old text
Joey Hess [Mon, 29 Jul 2024 21:21:41 +0000 (17:21 -0400)]
fix build with old text

Don't need decodeUtf8Lenient here because B64.encode surely always
generates utf8. So decodeUtf8 is safe, it will never throw an exception.

2 years agofinal fix to windows build
Joey Hess [Mon, 29 Jul 2024 20:32:24 +0000 (16:32 -0400)]
final fix to windows build

2 years agoclose
Joey Hess [Mon, 29 Jul 2024 19:15:40 +0000 (15:15 -0400)]
close

2 years agomore fixes to windows build for content retention files
Joey Hess [Mon, 29 Jul 2024 19:14:12 +0000 (15:14 -0400)]
more fixes to windows build for content retention files

Will probably build successfully now. Still untested.

2 years agomore fixes to windows build for content retention files
Joey Hess [Mon, 29 Jul 2024 17:58:40 +0000 (13:58 -0400)]
more fixes to windows build for content retention files

2 years agoWhen proxying an upload to a special remote, verify the hash.
Joey Hess [Mon, 29 Jul 2024 17:39:28 +0000 (13:39 -0400)]
When proxying an upload to a special remote, verify the hash.

While usually uploading to a special remote does not verify the content,
the content in a repository is assumed to be valid, and there is no trust
boundary. But with a proxied special remote, there may be users who are
allowed to store objects, but are not really trusted.

Another way to look at this is it's the equivilant of git-annex-shell
checking the hash of received data, which it does (see StoreContent
implementation).

2 years agorun with noMessages
Joey Hess [Mon, 29 Jul 2024 17:35:08 +0000 (13:35 -0400)]
run with noMessages

This avoids extraneous output from p2phttp, including eg, progress
displays when transferring to proxied special remotes.

2 years agoadd libghc-servant-client-core-dev dep
Joey Hess [Mon, 29 Jul 2024 17:10:40 +0000 (13:10 -0400)]
add libghc-servant-client-core-dev dep

2 years agochangelog
Joey Hess [Mon, 29 Jul 2024 17:09:19 +0000 (13:09 -0400)]
changelog

2 years agoupdate github badges
Joey Hess [Mon, 29 Jul 2024 17:00:00 +0000 (13:00 -0400)]
update github badges

Seems the urls changed and the old ones will be falsely green forever.

Found new ones in readme at https://github.com/datalad/git-annex

2 years agoadd missing do on windows
Joey Hess [Mon, 29 Jul 2024 16:54:52 +0000 (12:54 -0400)]
add missing do on windows

2 years agocomment
Joey Hess [Mon, 29 Jul 2024 15:59:33 +0000 (11:59 -0400)]
comment

2 years agodon't think I ever implementned the 422 idea, it will 404
Joey Hess [Mon, 29 Jul 2024 15:49:40 +0000 (11:49 -0400)]
don't think I ever implementned the 422 idea, it will 404

2 years agowording
Joey Hess [Mon, 29 Jul 2024 15:44:44 +0000 (11:44 -0400)]
wording

2 years agolink
Joey Hess [Mon, 29 Jul 2024 15:43:30 +0000 (11:43 -0400)]
link

2 years agowording
Joey Hess [Mon, 29 Jul 2024 15:37:13 +0000 (11:37 -0400)]
wording

2 years agotypo
Joey Hess [Mon, 29 Jul 2024 15:34:46 +0000 (11:34 -0400)]
typo

2 years agoMerge branch 'httpproto'
Joey Hess [Mon, 29 Jul 2024 15:33:39 +0000 (11:33 -0400)]
Merge branch 'httpproto'

2 years agoMerge remote-tracking branch 'origin/httpproto'
Joey Hess [Mon, 29 Jul 2024 15:25:27 +0000 (11:25 -0400)]
Merge remote-tracking branch 'origin/httpproto'

2 years agoupdate
Joey Hess [Mon, 29 Jul 2024 15:25:07 +0000 (11:25 -0400)]
update

2 years agopreparing to merge
Joey Hess [Mon, 29 Jul 2024 15:22:27 +0000 (11:22 -0400)]
preparing to merge

2 years agoWhen proxying for a special remote, avoid unncessary hashing
Joey Hess [Mon, 29 Jul 2024 15:18:03 +0000 (11:18 -0400)]
When proxying for a special remote, avoid unncessary hashing

Like the comment says, the client will do its own verification. But it was
calling verifyKeyContentPostRetrieval, which was hashing the file.

2 years agofix reversion in GET from proxy over http
Joey Hess [Mon, 29 Jul 2024 15:03:18 +0000 (11:03 -0400)]
fix reversion in GET from proxy over http

4f3ae966662c38080fcafb9d5bbee4dedce566b8 caused a hang in GET,
which git-annex testremote could reliably cause.

The problem is that closing both P2P handles before waiting on the
asyncworker prevents all the DATA from getting sent.

The solution is to only close the P2P handles early when the
P2PConnection is being closed. When it's being released, let the
asyncworker finish. closeP2PConnection is called in GET when it was
unable to send all data, and in PUT when it did not receive all the
data, and in both cases closing the P2P handles early is ok.

2 years agop2phttp remotes are not readonly
Joey Hess [Mon, 29 Jul 2024 14:52:37 +0000 (10:52 -0400)]
p2phttp remotes are not readonly

That prevented testremote from working when remote.name.url = http://..

2 years agocleanly close proxy connection on interrupted PUT
Joey Hess [Mon, 29 Jul 2024 14:33:26 +0000 (10:33 -0400)]
cleanly close proxy connection on interrupted PUT

An interrupted PUT to cluster that has a node that is a special remote
over http left open the connection to the cluster, so the next request
opens another one. So did an interrupted PUT directly to the proxied
special remote over http.

proxySpecialRemote was stuck waiting for all the DATA. Its connection
remained open so it kept waiting.

In servePut, checktooshort handles closing the P2P connection
when too short a data is received from PUT. But, checktooshort was only
called after the protoaction, which is what runs the proxy, which is
what was getting stuck. Modified it to run as a background thread,
which waits for the tooshortv to be written to, which gather always does
once it gets to the end of the data received from the http client.

That makes proxyConnection's releaseconn run once all data is received
from the http client. Made it close the connection handles before
waiting on the asyncworker thread. This lets proxySpecialRemote finish
processing any data from the handle, and then it will give up,
more or less cleanly, if it didn't receive enough data.

I say "more or less cleanly" because with both sides of the P2P
connection taken down, some protocol unhappyness results. Which can lead
to some ugly debug messages. But also can cause the asyncworker thread
to throw an exception. So made withP2PConnections not crash when it
receives an exception from releaseconn.

This did have a small change to the behavior of an interrupted PUT when
proxying to a regular remote. proxyConnection has a protoerrorhandler
that closes the proxy connection on a protocol error. But the proxy
connection is also closed by checktooshort when it closes the P2P
connection. Closing the same proxy connection twice is not a problem,
it just results in duplicated debug messages about it.

2 years agoadd debugging of opening and closing connections to proxies
Joey Hess [Mon, 29 Jul 2024 13:48:06 +0000 (09:48 -0400)]
add debugging of opening and closing connections to proxies

2 years agoidea
Joey Hess [Mon, 29 Jul 2024 13:11:27 +0000 (09:11 -0400)]
idea

2 years agoAdded a comment: importtree=yes Support
stv0g [Mon, 29 Jul 2024 06:50:01 +0000 (06:50 +0000)]
Added a comment: importtree=yes Support

2 years agoremove unused imports
Joey Hess [Mon, 29 Jul 2024 01:11:23 +0000 (21:11 -0400)]
remove unused imports

2 years agoremove uuid from annex+http urls
Joey Hess [Mon, 29 Jul 2024 00:29:42 +0000 (20:29 -0400)]
remove uuid from annex+http urls

Not needed it turns out.

2 years agoset remote's annexUrl automatically
Joey Hess [Mon, 29 Jul 2024 00:13:41 +0000 (20:13 -0400)]
set remote's annexUrl automatically

When the remote repository's git config file
has annex.url set to an annex+http url.

2 years agotodo
Joey Hess [Sun, 28 Jul 2024 21:29:32 +0000 (17:29 -0400)]
todo

2 years agodocumentation for p2phttp
Joey Hess [Sun, 28 Jul 2024 21:19:27 +0000 (17:19 -0400)]
documentation for p2phttp

2 years agoavoid repeatedly parsing the proxy log
Joey Hess [Sun, 28 Jul 2024 20:04:20 +0000 (16:04 -0400)]
avoid repeatedly parsing the proxy log

2 years agoupdate
Joey Hess [Sun, 28 Jul 2024 19:55:24 +0000 (15:55 -0400)]
update

2 years agotodo
Joey Hess [Sun, 28 Jul 2024 19:41:31 +0000 (15:41 -0400)]
todo

2 years agofix hang in PUT of large file to a special remote node of a cluster over http
Joey Hess [Sun, 28 Jul 2024 19:34:59 +0000 (15:34 -0400)]
fix hang in PUT of large file to a special remote node of a cluster over http

2 years agouse closedv rather than separate endv
Joey Hess [Sun, 28 Jul 2024 19:11:31 +0000 (15:11 -0400)]
use closedv rather than separate endv

Doesn't fix any known problem, but this way if the connection does get
closed, it will notice.

2 years agoremove temp file after upload to special remote
Joey Hess [Sun, 28 Jul 2024 18:36:45 +0000 (14:36 -0400)]
remove temp file after upload to special remote

2 years agoMerge remote-tracking branch 'origin/master' into httpproto
Joey Hess [Sun, 28 Jul 2024 18:24:15 +0000 (14:24 -0400)]
Merge remote-tracking branch 'origin/master' into httpproto

2 years agoupdate
Joey Hess [Sun, 28 Jul 2024 18:22:44 +0000 (14:22 -0400)]
update

2 years agoclean shut down of cluster connection when PUT is interrupted
Joey Hess [Sun, 28 Jul 2024 18:15:28 +0000 (14:15 -0400)]
clean shut down of cluster connection when PUT is interrupted

An interrupted `git-annex copy --to` a cluster via the http server,
when repeated, failed. The http server output "transfer already in
progress, or unable to take transfer lock". Apparently a second
connection was opened to the cluster, because the first connection
never got shut down.

Turned out the problem was that when proxying to a cluster, it would read a
short ByteString from the client, and send that to the nodes. But that left the
nodes warning more. Meanwhile, the proxy was expecting a SUCCESS/FAILURE
message from the nodes. So it didn't return, and so the cluster connection
stayed open.

2 years agofix http proxying for a local git remote with a relative path
Joey Hess [Sun, 28 Jul 2024 17:31:30 +0000 (13:31 -0400)]
fix http proxying for a local git remote with a relative path

git-annex-shell expects an absolute path

2 years agofound some bugs with clusters
Joey Hess [Sun, 28 Jul 2024 17:00:05 +0000 (13:00 -0400)]
found some bugs with clusters

2 years agoclusters need enableInteractiveBranchAccess
Joey Hess [Sun, 28 Jul 2024 16:39:42 +0000 (12:39 -0400)]
clusters need enableInteractiveBranchAccess

As seen in commit 770aac97a75f64b86d73240055acffe1a5ed9f1a, a cluster
relies accurate location logs. If long-running processes are serving a
cluster, and one process puts a file, the other process needs to see
what nodes it was stored on when checking if the file is present.

2 years agosmarter BranchState cache invalidation
Joey Hess [Sun, 28 Jul 2024 16:33:32 +0000 (12:33 -0400)]
smarter BranchState cache invalidation

Only invalidate a just-written file in the cache, not the whole cache.

This will avoid the possibly performance impact of cache invalidation
mentioned in commit 770aac97a75f64b86d73240055acffe1a5ed9f1a

2 years agoshare single BranchState amoung all threads
Joey Hess [Sun, 28 Jul 2024 16:17:16 +0000 (12:17 -0400)]
share single BranchState amoung all threads

This fixes a problem when git-annex testremote is run against a cluster
accessed via the http server. Annex.Cluster uses the location log
to find nodes that contain a key when checking if the key is present or getting
it. Just after a key was stored to a cluster node, reading the location log
was not getting the UUID of that node.

Apparently the Annex action that wrote to the location log, and the one
that read from it were run with two different Annex states. The http server
does use several different Annex threads.

BranchState was part of the AnnexState, and so two threads could have
different BranchStates.

Moved BranchState to the AnnexRead, so all threads will see the common state.

This might possibly impact performance. If one thread is writing changes to the
branch, and another thread is reading from the branch, the writing thread will
now invalidate the BranchState's cache, which will cause the reading thread to
need to do extra work. But correctness is surely more important. If did is
found to have impacted performance, it could probably be dealt with by doing
smarter BranchState cache invalidation.

Another way this might impact performance is that the BranchState has a small
cache. If several threads were reading from the branch and relying on the value
they just read still being in the case, now a cache miss will be more likely.
Increasing the BranchState cache to the number of jobs might be a good
idea to amelorate that. But the cache is currently an innefficient list,
so making it large would need changes to the data types.

(Commit 4304f1b6aea19a5c402dc4f9d69aa4ff1c104c9b dealt with a follow-on
effect of the bug fixed here.)

2 years agobetter handling of content not available from cluster
Joey Hess [Sun, 28 Jul 2024 15:09:07 +0000 (11:09 -0400)]
better handling of content not available from cluster

Sending ERROR caused the client to get confused and protocol to freeze.
Better to send empty DATA and indicate it's not valid.

This fixes a hang in git-annex testremote of a cluster accessed via the
http server. That testremote is still failing, for some reason after
storing a test key, the cluster reports it as not present.

2 years agoadd --clusterjobs option and default to 1
Joey Hess [Sun, 28 Jul 2024 14:36:22 +0000 (10:36 -0400)]
add --clusterjobs option and default to 1

The default of 1 is not ideal at all, but it avoids an accidental M*N
causing so much concurrency it becomes unusable.

2 years agocluster support in http API server
Joey Hess [Sun, 28 Jul 2024 14:16:35 +0000 (10:16 -0400)]
cluster support in http API server

Wired it up and it seems to basically work, although the test suite is
not fully passing.

Note that --jobs currently gets multiplied by the number of nodes in the
cluster, which is probably not good.

2 years agoremove duplicate code
Joey Hess [Sun, 28 Jul 2024 13:35:09 +0000 (09:35 -0400)]
remove duplicate code

2 years agotested shutdown of connection to http proxied special remote
Joey Hess [Sun, 28 Jul 2024 13:17:47 +0000 (09:17 -0400)]
tested shutdown of connection to http proxied special remote

I had worried it might not work properly, but it does, the endv works.

2 years agofix PUT to http proxied special remote
Joey Hess [Sun, 28 Jul 2024 13:14:42 +0000 (09:14 -0400)]
fix PUT to http proxied special remote

It was hanging because it never sent FAILURE in the INVALID case.
And putoffset always triggers the INVALID case.

2 years agothoughts on exporttree
Joey Hess [Sat, 27 Jul 2024 23:59:54 +0000 (19:59 -0400)]
thoughts on exporttree

2 years agoupdate
Joey Hess [Sat, 27 Jul 2024 00:44:01 +0000 (20:44 -0400)]
update

2 years agoUNLOCKCONTENT is not a top-level request
Joey Hess [Sat, 27 Jul 2024 00:37:38 +0000 (20:37 -0400)]
UNLOCKCONTENT is not a top-level request

proxyRequest was treating UNLOCKCONTENT as a separate request.
That made it possible for there to be two different connections to the
proxied remote, with LOCKCONTENT being sent to one, and UNLOCKCONTENT
to the other one. A protocol error.

git-annex testremote now passes against a http proxied remote.

2 years agofix hang at end of PUT to proxied p2p http remote
Joey Hess [Fri, 26 Jul 2024 23:50:15 +0000 (19:50 -0400)]
fix hang at end of PUT to proxied p2p http remote

sendExactly will now be sure to evaluate the whole lazy ByteString.

In this case, the lazy ByteString was exactly the right lenth.
But, it seems that L.take caused it to not actually be fully evaluated.

In servePut, this manifested as gather never being fully evaluated,
which caused the hang.

Very, very subtle, and horrible bug. Clearly the use of lazy ByteString
(or really just laziness) is at fault, and it would be very worth moving
to conduit or whatever to avoid this.

2 years agoupdate
Joey Hess [Fri, 26 Jul 2024 21:15:09 +0000 (17:15 -0400)]
update

2 years agoimplement proxy connection pool
Joey Hess [Fri, 26 Jul 2024 20:34:08 +0000 (16:34 -0400)]
implement proxy connection pool

removeOldestProxyConnectionPool will be innefficient the larger the pool
is. A better data structure could be more efficient. Eg, make each value
in the pool include the timestamp of its oldest element, then the oldest
value can be found and modified, rather than rebuilding the whole Map.

But, for pools of a few hundred items, this should be fine. It's O(n*n log n)
or so.

Also, when more than 1 connection with the same pool key exists,
it's efficient even for larger pools, since removeOldestProxyConnectionPool
is not needed.

The default of 1 idle connection could perhaps be larger.. like the
number of jobs? Otoh, it seems good to ramp up and down the number of
connections, which does happen. With 1, there is at most one stale
connection, which might cause a request to fail.

2 years agoinitial report on keeping association with the remote
yarikoptic [Fri, 26 Jul 2024 20:01:23 +0000 (20:01 +0000)]
initial report on keeping association with the remote

2 years agocloseP2PConnection on interrupted GET
Joey Hess [Fri, 26 Jul 2024 19:50:01 +0000 (15:50 -0400)]
closeP2PConnection on interrupted GET

2 years agoclean up after http p2p proxy GET is interrupted
Joey Hess [Fri, 26 Jul 2024 19:25:15 +0000 (15:25 -0400)]
clean up after http p2p proxy GET is interrupted

There was an annex worker thread that did not get stopped.

It was stuck in ReceiveMessage from the P2PHandleTMVar.

Fixed by making P2PHandleTMVar closeable.

In serveGet, releaseP2PConnection has to come first, else the
annexworker may not shut down, if it's waiting to read from it.

In proxyConnection, call closeRemoteSide in order to wait for the ssh
process (for example).

2 years agoclose proxy remote side when done with it
Joey Hess [Fri, 26 Jul 2024 17:57:28 +0000 (13:57 -0400)]
close proxy remote side when done with it

2 years agooops
Joey Hess [Fri, 26 Jul 2024 17:55:14 +0000 (13:55 -0400)]
oops

2 years agooops
Joey Hess [Fri, 26 Jul 2024 17:54:37 +0000 (13:54 -0400)]
oops

2 years agoclean up protocol version for proxying
Joey Hess [Fri, 26 Jul 2024 17:39:43 +0000 (13:39 -0400)]
clean up protocol version for proxying

The proxy always checks the protocol version of a remote before talking
to it in a version-specific way, so the protocol version in the ProxyParams
is the client's protocol version. The remote will always be at the same or
an older protocol version than the client.

Note that in relayDATAFinish, when the client is at protocol version 0,
the remote must thus be as well, and that's why its version is not
checked in the case for that.

With that clarified, it's evident that, in P2P.Http.State, there's no
need to look at the proxied remote's protocol version at all.

2 years agofix setting protocol version for v0 server
Joey Hess [Fri, 26 Jul 2024 17:24:56 +0000 (13:24 -0400)]
fix setting protocol version for v0 server

Before it was leaving the protocol version at the default, when it
was actually v0.

v0 has only ever been used over tor, which is probably why this bug was
never noticed.

2 years agofix hang in GET from http p2p proxy
Joey Hess [Fri, 26 Jul 2024 16:49:06 +0000 (12:49 -0400)]
fix hang in GET from http p2p proxy

serverP2PConnection = proxyfromclientconn causes serveGet to
signalFullyConsumedByteString to it, which is what it's waiting for

2 years agoimprove comment
Joey Hess [Fri, 26 Jul 2024 16:48:47 +0000 (12:48 -0400)]
improve comment

2 years agoupdate
Joey Hess [Fri, 26 Jul 2024 15:01:45 +0000 (11:01 -0400)]
update

2 years agohttp p2p proxy is now largely working
Joey Hess [Fri, 26 Jul 2024 14:24:23 +0000 (10:24 -0400)]
http p2p proxy is now largely working

2 years agoAdded a comment
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Fri, 26 Jul 2024 11:42:49 +0000 (11:42 +0000)]
Added a comment

2 years agoremove some debugging
Joey Hess [Fri, 26 Jul 2024 01:36:10 +0000 (21:36 -0400)]
remove some debugging

2 years agowip
Joey Hess [Thu, 25 Jul 2024 19:39:57 +0000 (15:39 -0400)]
wip

2 years agouse a record to reduce the huge number of parameters
Joey Hess [Thu, 25 Jul 2024 19:18:06 +0000 (15:18 -0400)]
use a record to reduce the huge number of parameters