milton4code commented on PR #374: URL: https://github.com/apache/doris-spark-connector/pull/374#issuecomment-5503063068
Hey, thanks for checking! I looked at doris#61197 but I think they're different problems. That one fixes FE Jetty returning 431 when headers are too large. The issue here is BE libevent returning 413 when it sees Expect: 100-continue combined with chunked transfer — even with just a few rows of data. We hit this in production and traced it with curl: same payload, same BE, but removing the Expect header makes it go from 413 to 200. The connector currently hardcodes this header and there's no clean way to turn it off. Setting doris.sink.properties.expect to empty doesn't actually remove it — Java HttpClient still sends an Expect header with an empty value, which is not the same as omitting it. This PR just adds a simple toggle so users can disable it when their BE has this behavior. Default stays true so nothing changes for existing users. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
