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:
parent
ffd9d2e695
commit
a9572e6613
4 changed files with 80 additions and 38 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue