Houston, TX (SportsNetwork.com) - If the playoffs have proven anything, it's that no lead is safe against the Warriors, and that the Rockets play their best ball with their backs against the wall.

The Warriors pulled within two possessions after trailing by as many as 25 points, but the Rockets held them off and avoided a sweep with a 128-115 wire- to-wire victory in Game 4 of the Western Conference finals.

Six players scored in double figures in a balanced attack for the Rockets, who tied a playoff record with an explosive 45-point first quarter.

James Harden finished with a playoff career-high 45 points to make up for a 3- of-16 shooting effort in Game 3's embarrassing 35-point loss. Dwight Howard totaled 14 points and 12 rebounds, and Josh Smith stepped up with 20 points.

"It was really important for us to get a good start," Rockets head coach Kevin McHale said. "We got the crowd into it. We needed that. We wanted to get ahead and have them chase us."

The Warriors, still just one win away from reaching the Finals for the first time since 1975, held their collective breath when Stephen Curry fell head over heels in a scary scene midway through the second quarter.

The league MVP somehow came away with just a head contusion and returned in the second half. He scored 23 points in 31 minutes and appears to be in good health for the remainder of the series, which shifts back west for Game 5 on Wednesday.

Klay Thompson led Golden State with 24 points, while Draymond Green chipped in with 21 points, 15 rebounds and five blocks before fouling out.

The drama-filled showdown saw both teams combine for a record 37 3-pointers, 20 coming from the Warriors and seven of Houston's 17 from Harden.

A frenetic first half began with arguably the best offensive first quarter in playoff history and ended in a miracle shot that didn't count -- in addition to one of the league's premier stars nearly suffering an horrific injury.

A historic 45-point opening quarter was summed up by Smith scoring 13 points in the first seven minutes and the Rockets shooting 8-of-9 from 3-point range. Harden accounted for 10 points in the blitzkrieg, including a step-back 19- footer just before the buzzer that gave Houston a healthy 23-point cushion.

"The game was won in the first quarter," Warriors head coach Steve Kerr said.

The Warriors trailed by 19 at the time Curry was incidentally undercut by Trevor Ariza. Curry's arm was pinned underneath his body, and his head hit the hardwood upon impact. After being face down on the court for several minutes, Curry gained his feet and walked back to the locker room with a trainer supporting his left arm.

"It felt like I was in the air for a long time. ... It was a bad feeling," recalled Curry. "It could have been a lot worse. I'm disappointed we lost, but all in all I'm glad I came through it relatively OK."

Thompson stepped up in the absence of his "Splash Brother" and hit four 3- pointers over the final four-plus minutes of the half. Green's bucket off the offensive glass pulled the Warriors within 66-59.

Jason Terry hit a 3-pointer to push the lead back to double digits, and it was almost a 13-point game at the break were it not for the buzzer sounding just prior to Harden's stunning 85-foot heave that hit nothing but net.

Curry passed all the concussion tests and returned to action with 5:58 left in the third quarter. The Warriors were within striking distance at 78-69 at the time, but Harden fueled a 15-2 run with two 3-pointers and the Rockets were suddenly ahead by 22 points.

Houston led 99-84 entering the fourth, and a flurry of 3-pointers -- one from Harrison Barnes, two from Thompson, and another from Curry -- cut Golden State's deficit to 104-98.

It seemed as if the Warriors were duplicating their memorable comeback against the Pelicans in the first round, when they trailed by 20 entering the fourth quarter and pulled out a Game 3 win.

Harden refused to suffer a similar fate, as he scored seven straight points and threw an alley-oop to Howard for a 114-98 lead with five minutes to play.

The closest Golden State got from there was eight, and Harden, fittingly, answered with a 3-pointer to seal the win and keep the Rockets' hopes of becoming the first team to rally from a 3-0 series deficit.

Game Notes

The Rockets had lost eight straight meetings with the Warriors ... Houston shot 56.6 percent from the field after making 33.7 percent in Game 3 ... The Warriors had won six in a row since going down 2-1 to the Grizzlies in the second round ... Howard was whistled for a Flagrant-1 foul for landing an elbow on Andrew Bogut in the third quarter ... The Warriors were looking for their third-ever sweep of a seven-game series.