I must be a cow

It was the other way around...gasoline was the unwanted byproduct. Nobody wanted it as all they wanted was the kerosene and fuel oil. Gasoline was considered too volatile to be useful.
Wasn't diesel also a byproduct?