This diagram shows the stress distribution
For a thin wall cylinder the inside and outside stress is almost the same. The area just ahead of the chamber probably doesnt qualify as thin walled. Most of the barrel certainly does.