Re: [PATCH v4 07/33] io: tls: Allow terminating the TLS session gracefully with EOF

2025-02-06 Thread Peter Xu
On Tue, Feb 04, 2025 at 07:25:12PM +0100, Maciej S. Szmigiero wrote: > That's for the multifd channel recv thread main loop only, if @Peter > wants to patch also the mid-stream page receive methods and the main > migration channel receive then qio_channel_read(), qio_channel_read_all(), > qio_chann

Re: [PATCH v4 07/33] io: tls: Allow terminating the TLS session gracefully with EOF

2025-02-04 Thread Maciej S. Szmigiero
On 4.02.2025 17:14, Daniel P. Berrangé wrote: On Tue, Feb 04, 2025 at 05:02:23PM +0100, Maciej S. Szmigiero wrote: On 4.02.2025 16:15, Daniel P. Berrangé wrote: On Thu, Jan 30, 2025 at 11:08:28AM +0100, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Currently, hitting EOF on receive

Re: [PATCH v4 07/33] io: tls: Allow terminating the TLS session gracefully with EOF

2025-02-04 Thread Daniel P . Berrangé
On Tue, Feb 04, 2025 at 05:02:23PM +0100, Maciej S. Szmigiero wrote: > On 4.02.2025 16:15, Daniel P. Berrangé wrote: > > On Thu, Jan 30, 2025 at 11:08:28AM +0100, Maciej S. Szmigiero wrote: > > > From: "Maciej S. Szmigiero" > > > > > > Currently, hitting EOF on receive without sender terminating

Re: [PATCH v4 07/33] io: tls: Allow terminating the TLS session gracefully with EOF

2025-02-04 Thread Maciej S. Szmigiero
On 4.02.2025 16:15, Daniel P. Berrangé wrote: On Thu, Jan 30, 2025 at 11:08:28AM +0100, Maciej S. Szmigiero wrote: From: "Maciej S. Szmigiero" Currently, hitting EOF on receive without sender terminating the TLS session properly causes the TLS channel to return an error (unless the channel was

Re: [PATCH v4 07/33] io: tls: Allow terminating the TLS session gracefully with EOF

2025-02-04 Thread Daniel P . Berrangé
On Thu, Jan 30, 2025 at 11:08:28AM +0100, Maciej S. Szmigiero wrote: > From: "Maciej S. Szmigiero" > > Currently, hitting EOF on receive without sender terminating the TLS > session properly causes the TLS channel to return an error (unless > the channel was already shut down for read). > > Add

[PATCH v4 07/33] io: tls: Allow terminating the TLS session gracefully with EOF

2025-01-30 Thread Maciej S. Szmigiero
From: "Maciej S. Szmigiero" Currently, hitting EOF on receive without sender terminating the TLS session properly causes the TLS channel to return an error (unless the channel was already shut down for read). Add an optional setting whether we instead just return EOF in that case. This possibil