Farmers-market-only restriction is unusual. Separate Residential Farm category for farm products.
Sources
Where to verify Connecticut's rules
Statute / regulation
cga.ct.gov/current/pub/chap_417.htm#sec_21a-62a
Connecticut Department of Consumer Protection
portal.ct.gov/DCP/Food-and-Standards-Division/Cottage-Foods
Forrager state guide
forrager.com/law/connecticut/
Cooperative Extension
portal.ct.gov/-/media/DCP/food-and-standards/Cottage-Food-Operator-Information-Sheet
Additional resource
forrager.com/law/connecticut-residential-farm/
Major cities
City zoning rules in Connecticut
City zoning rules apply on top of the state cottage food law — home occupation, customer pickup, signage, and employees.
Hartford
American Legal Publishing
Important
Cottage food laws are amended every year. This is a starting reference, not legal advice. Verify with Connecticut Department of Consumer Protection and your local health department before relying on this data.