node-engine: compose-candidate sends its composition input in chunks over the link's connection when asked with a call token (A-237b)
Builds: design 47 G (G-22 lead answers 2) A-237b; A-237, A-249
This commit is contained in:
@@ -238,7 +238,9 @@ func (s *Shadow) composeCandidate(ctx context.Context, c *Composer, ask nodeengi
|
||||
}
|
||||
}
|
||||
})
|
||||
if sentSize > maxSentInput {
|
||||
// An ask with a call token takes the input in chunks, whatever its size (A-237b); one with none is the checker's, answered
|
||||
// inline until G removes the checker (G-6 §321), so past what the bus carries in one answer it is refused.
|
||||
if sentSize > maxSentInput && ask.Call == "" {
|
||||
// Past what the bus carries in one answer, the checker would hear nothing: refused, saying so.
|
||||
size := sentSize
|
||||
a.Input = nil
|
||||
|
||||
Reference in New Issue
Block a user