You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Hisoka-X (via GitHub)" <gi...@apache.org> on 2025/07/01 02:43:03 UTC

Re: [PR] [Bug][connector-http] Fix paging request running infinitely [seatunnel]

Hisoka-X commented on code in PR #9504:
URL: https://github.com/apache/seatunnel/pull/9504#discussion_r2176302944


##########
seatunnel-connectors-v2/connector-http/connector-http-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/http/source/HttpSourceReader.java:
##########
@@ -337,14 +336,16 @@ public void internalPollNext(Collector<SeaTunnelRow> output) throws Exception {
             if (pageInfoOptional.isPresent()) {
                 noMoreElementFlag = false;
                 PageInfo info = pageInfoOptional.get();
+                if (!Strings.isNullOrEmpty(this.httpParameter.getBody())) {
+                    this.rawBody = this.httpParameter.getBody();
+                }

Review Comment:
   Why we still need set `rawBody` in here but we already set it in constructer?



-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org