phpx/server: improve wire format

This commit updates the wire format of the phpx server. Instead of being
string-based, messages sent back and forth between go and php are now
base64-encoded DEFLATEd strings. This makes them a lot smaller and
faster to send.
This commit is contained in:
Tom 2023-05-01 15:50:21 +02:00
parent ffd9d2e695
commit a9572e6613
4 changed files with 80 additions and 38 deletions

View file

@ -56,6 +56,6 @@ func (pathbuilder *Pathbuilder) Fetch(flags ingredient.FetcherFlags, info *statu
return
}
info.Pathbuilders, _ = pathbuilder.GetAll(flags.Context, flags.Server)
info.Pathbuilders, err = pathbuilder.GetAll(flags.Context, flags.Server)
return
}