Some version info first:
using the latest stable branch of the base firmware, 18,06.1
using latest versions of all relevant packages: libcurl, libnghttp2, and libmbedtls
device target is ramips/mt76x8
device packages is mipsel_24kc
I'm able to compile the image just fine, however when I make requests in a program on my device using libcurl it sends the request using http/1.1. I'm specifying the http version as 2 in my program and force enabling ALPN even though I know it's enabled by default. Why would my upgrade requests not be accepted? All other traffic to the same endpoint not from my program (a.k.a. from a browser) is using http/2, so I know the server is using http/2.
Do I need to compile libcurl locally? If so, how would I compile a version I can then link to my image builds?
Any insight to this would be greatly appreciated.