have you changed these settings!

AVAST>>SETTINGS>>ACTIVE PROTECTION>> WEB SHIELD SETTINGS>>ACTIONS>>
there you will found a combo box with two options->
1. Abort Connection
2.Ask
------------------>selected