fix: close stream adaptive gaps and switch notify to stario v0.1.1
- make stream fast path honor adaptive soft payload limits end-to-end - split oversized fast-stream payloads into sequential frames before batching - use adaptive soft cap when encoding stream batch payloads - move timeout-like error detection into production code for adaptive tx - tune notify FrameReader read size explicitly to avoid throughput regression - drop local stario replace and depend on released b612.me/stario v0.1.1
This commit is contained in:
@@ -18,6 +18,14 @@ type Client interface {
|
||||
SetStreamConfig(StreamConfig)
|
||||
SetTransferResumeStore(TransferResumeStore)
|
||||
RecoverTransferSnapshots(context.Context) error
|
||||
SetBulkNetworkProfile(BulkNetworkProfile)
|
||||
BulkNetworkProfile() BulkNetworkProfile
|
||||
SetBulkDefaultOpenMode(BulkOpenMode)
|
||||
BulkDefaultOpenMode() BulkOpenMode
|
||||
SetBulkOpenTuning(BulkOpenTuning)
|
||||
BulkOpenTuning() BulkOpenTuning
|
||||
SetBulkDedicatedAttachConfig(BulkDedicatedAttachConfig)
|
||||
BulkDedicatedAttachConfig() BulkDedicatedAttachConfig
|
||||
SetFileReceiveDir(dir string) error
|
||||
send(msg TransferMsg) (WaitMsg, error)
|
||||
sendEnvelope(env Envelope) error
|
||||
@@ -77,6 +85,8 @@ type Client interface {
|
||||
OpenStream(ctx context.Context, opt StreamOpenOptions) (Stream, error)
|
||||
OpenRecordStream(ctx context.Context, opt RecordOpenOptions) (RecordStream, error)
|
||||
OpenBulk(ctx context.Context, opt BulkOpenOptions) (Bulk, error)
|
||||
OpenSharedBulk(ctx context.Context, opt BulkOpenOptions) (Bulk, error)
|
||||
OpenDedicatedBulk(ctx context.Context, opt BulkOpenOptions) (Bulk, error)
|
||||
SendTransfer(ctx context.Context, opt TransferSendOptions) (TransferHandle, error)
|
||||
SendFile(ctx context.Context, filePath string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user