Git push not configured with use_curl_multi

Source: Internet
Author: User

 

When git is compiled by default, it will prompt that it cannot be run during push, because use_curl_multi is not specified during compilation. Where can it be specified.

 

Add-duse_curl_multi directly to the cflags of makefile, but it is difficult!

Finally, I found that the website was in HTTP. h, I added a phrase # UNDEF use_curl_multi at the beginning. It is no wonder that-duse_curl_multi is added to the command line, which is invalid. I changed # UNDEF to # define, and define # define default_max_requests 5 below (same as the curl version below)

 

Finally, it is said on the Internet that this will happen by default because of bugs in earlier versions of curl, which may lead to data loss. However, it seems to me that this is a good solution, my system is cenos 5.5,

Curl-7.15.5-9.el5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.