lsuits / lsu-block_my_picture

A Moodle block that imports profile picture from a web service
1 stars 2 forks source link

Safe Degradation in delayed service request #6

Closed philcali closed 12 years ago

philcali commented 12 years ago

When curling to the web service, I'm about 87% sure that php completely dies when a web service request fails.

Safer degradation is key.

philcali commented 12 years ago

The error I was getting was as if PHP was seg-faulting on the curl request (blank white page). I don't know if the curl timeout was causing this or what. This might be a good reason to move to the curl class in lib/filelib.php.

philcali commented 12 years ago

I have not been able to replicate this issue on the latest codebase. It may have been a configuration issue. Closing for now.