You misunderstand, France didn't block pornhub, pornhub blocked France.
It is to protest against a new law requiring porn site to verify the users age. Which they argue will have dire consequences for security and privacy (I fully agree about the danger)