Boost logo

Boost :

Subject: Re: [boost] async_read SEGFAULT
From: hh h (jupiter.hce_at_[hidden])
Date: 2019-01-07 10:10:54

I currently use a fixed size of array char buffer[MAX_SIZE] as a life
time buffer attached to the class running on async_read, I think that
was your point it should live as long as the socket lives. I think it
should be fine for running a single thread, for multiple threads it
might cause issues.

Anyway, I am going to run a single thread, to use two static life time
buffers, one for async_read, one for async_write.

Thanks Richard.

Boost list run by bdawes at, gregod at, cpdaniel at, john at