Rupture of the membranes before the onset of labor