{"push_id":835097677,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"3db0d929e7c11217f17eaf348de7e48c187de7fb","before":"5b0c77a3bdff91643d19a3056103a6ac701f8af8","commits":[{"sha":"3db0d929e7c11217f17eaf348de7e48c187de7fb","author":{"email":"473faad59dd39d8c25ce5634da61459ba6532c3c@cfengine.com","name":"Marcin Pasinski"},"message":"Redmine #6027: Directories randomly changed to files.\n\nThis is quite nasty and border case scenario. For recursive file\ncopying if connection was timeouted recourse copying was continued.\nIn some cases timeouted package was sent by the server (usually under\nheavy load) and was wrongly interpreted as response for next request.\n\nUsually (if not always) directories were created first and then files,\nso most often directory was replaced with a file and content of the file\nwas corrupted protocol leftovers (t 74OK: 0 432 0 0 20010 1302 140197032)\nwhich is CFEngine copy file protocol transaction header and data.\n\nThe fix is to drpo connection immediately after experiencing timeouts in\nall cases where files and/or directories are copied recursively in loop.\n\nChangelog: Redmine #6027 Directories should no more be changed randomly\ninto files.","distinct":true,"url":"https://api.github.com/repos/pasinskim/core/commits/3db0d929e7c11217f17eaf348de7e48c187de7fb"}]}